Skip to content

Commit

Permalink
Lint corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
HiroyukiNaito committed Mar 2, 2024
1 parent f775aff commit e90a890
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/src/networks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ export async function getNetworkBootnodes(network: NetworkName): Promise<string[
const bootEnrs = await fetchBootnodes(network);
bootnodes.push(...bootEnrs);
} catch (e) {
// eslint-disable-next-line no-console
if (e instanceof FetchBootFileError) {
// eslint-disable-next-line no-console
console.error(`${(e as Error).stack}`);
} else {
// eslint-disable-next-line no-console
console.error(`Error fetching latest bootnodes: ${(e as Error).stack}`);
}
}
Expand Down

0 comments on commit e90a890

Please sign in to comment.