Skip to content

Commit

Permalink
Remove capturing generic exceptions in v1 (#795)
Browse files Browse the repository at this point in the history
* Do not log exceptions we can't fix usually like network issues
  • Loading branch information
hidden4003 authored Jan 19, 2024
1 parent 855cee8 commit 28c9103
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jmmserver-webui",
"version": "1.1.14",
"version": "1.1.15",
"private": true,
"sideEffects": false,
"engines": {
Expand Down
2 changes: 0 additions & 2 deletions src/core/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as Sentry from '@sentry/react';
import { call, put, select } from 'redux-saga/effects';
import Events from '../events';

Expand Down Expand Up @@ -79,7 +78,6 @@ function* apiCall(userOptions: ApiCallOptions) {
}
return { data: json };
} catch (ex) {
Sentry.captureException(ex);
return { error: true, message: ex.message };
}
}
Expand Down

0 comments on commit 28c9103

Please sign in to comment.