Skip to content

Commit

Permalink
fix(trezor-user-env): do not throw on error response
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Feb 27, 2025
1 parent 0f8895d commit c8aabd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/trezor-user-env-link/src/websocket-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class WebsocketClient extends WebsocketClientBase<WebsocketClientEvents>
this.emit('firmwares', resp.firmwares);
} else {
if (!resp.success) {
throw new Error(`websocket_error_message: ${resp.error.message || resp.error}`);
console.log(`websocket_error_message: ${resp.error.message || resp.error}`);
}
}

Expand Down

0 comments on commit c8aabd3

Please sign in to comment.