diff --git a/packages/cli/src/cmds/node/handler.ts b/packages/cli/src/cmds/node/handler.ts index b4ef5290..517ec2aa 100644 --- a/packages/cli/src/cmds/node/handler.ts +++ b/packages/cli/src/cmds/node/handler.ts @@ -51,7 +51,8 @@ export async function nodeHandler(args: IGlobalArgs): Promise { redirectRpc: params.redirectRpc, }); } catch (err) { - if (err instanceof Error && err.message.indexOf("chain id") > -1) { + logger.error(err); + if (err instanceof Error) { logger.error(err.message); return; }