mirror of https://github.com/grpc/grpc-node.git
better error msg for both env vars
This commit is contained in:
parent
5518d0e8f4
commit
6404ef7014
|
@ -303,7 +303,7 @@ export async function loadBootstrapInfo(): Promise<BootstrapInfo> {
|
|||
|
||||
return Promise.reject(
|
||||
new Error(
|
||||
'The GRPC_XDS_BOOTSTRAP environment variable needs to be set to the path to the bootstrap file to use xDS'
|
||||
'The GRPC_XDS_BOOTSTRAP or GRPC_XDS_BOOTSTRAP_CONFIG environment variables need to be set to the path to the bootstrap file to use xDS'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue