Skip to content

Commit

Permalink
Expand error message with reason [skip ci] (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan-SL committed Feb 7, 2023
1 parent 0d85e66 commit 3bac81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/external-server/external-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export abstract class ExternalServer {
return response.data;
} catch (error) {
const parent = error instanceof Error && error;
const msg = "Error in interaction with Starknet CLI proxy server";
const msg = `Error in interaction with Starknet CLI proxy server\n${error}`;
throw new StarknetPluginError(msg, parent);
}
}
Expand Down

0 comments on commit 3bac81c

Please sign in to comment.