add log if both USE_WEBSOCKET and USE_GRPC are provided
This commit is contained in:
@@ -412,6 +412,9 @@ const main = async () => {
|
||||
if (!endpoint) {
|
||||
throw new Error('ENDPOINT is required for grpc');
|
||||
}
|
||||
if (useWebsocket) {
|
||||
logger.warn('USE_GRPC overriding USE_WEBSOCKET');
|
||||
}
|
||||
subscriptionConfig = {
|
||||
type: 'grpc',
|
||||
grpcConfigs: {
|
||||
|
||||
Reference in New Issue
Block a user