Skip to content

Commit 7dcd3b9

Browse files
committed
report all errors to the user
We no longer want to swallow and ignore unknown errors. We want to know about them so we can fix them.
1 parent 1563c15 commit 7dcd3b9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/angular-app/bellows/core/api/json-rpc.service.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,7 @@ export class JsonRpcService {
100100
type = 'You don\'t have sufficient privileges.';
101101
break;
102102
default:
103-
// silently swallow unknown exceptions and don't bug (heh) the user about things they can't fix
104-
// this.error.notify('Exception',
105-
// 'An exception occurred in the application, but\nthe developers have already been notified.',
106-
// response.data.error.message);
107-
return;
103+
type = 'Exception';
108104
}
109105
this.error.error(type, response.data.error.message);
110106

0 commit comments

Comments
 (0)