better error msg for both env vars

This commit is contained in:
Huan LI (李卓桓) 2021-08-02 11:32:21 +08:00
parent 5518d0e8f4
commit 6404ef7014
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ export async function loadBootstrapInfo(): Promise<BootstrapInfo> {
return Promise.reject( return Promise.reject(
new Error( 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'
) )
); );
} }