Skip to content

Commit

Permalink
Alighed Error message
Browse files Browse the repository at this point in the history
  • Loading branch information
HiroyukiNaito committed Feb 29, 2024
1 parent 56f644b commit 2b2e1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/networks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export async function fetchBootnodes(network: NetworkName): Promise<string[]> {
}
const res = await fetch(bootnodesFileUrl);
if (!res.ok) {
throw new Error(`Failed to fetch bootnodes file. Status: ${res.status} ${res.statusText}`);
throw new Error(`Error fetching bootnodes file: Status Code ${res.status} (${res.statusText})`);
}
const bootnodesFile = await res.text();
return parseBootnodesFile(bootnodesFile);
Expand Down

0 comments on commit 2b2e1e1

Please sign in to comment.