Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Nov 23, 2024
1 parent 1930548 commit ffd2fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/NetworkClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class NetworkClient {
case NETWORK_MAIN: return 'mainalbatross';
case NETWORK_TEST: return 'testalbatross';
case NETWORK_DEV: return 'devalbatross';
default: throw new Error(ERROR_INVALID_NETWORK);
default: throw new Error(`${ERROR_INVALID_NETWORK}: ${network}`);
}
}
}

0 comments on commit ffd2fdb

Please sign in to comment.