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) {
|
if (!endpoint) {
|
||||||
throw new Error('ENDPOINT is required for grpc');
|
throw new Error('ENDPOINT is required for grpc');
|
||||||
}
|
}
|
||||||
|
if (useWebsocket) {
|
||||||
|
logger.warn('USE_GRPC overriding USE_WEBSOCKET');
|
||||||
|
}
|
||||||
subscriptionConfig = {
|
subscriptionConfig = {
|
||||||
type: 'grpc',
|
type: 'grpc',
|
||||||
grpcConfigs: {
|
grpcConfigs: {
|
||||||
|
|||||||
Reference in New Issue
Block a user