Skip to content

Commit

Permalink
Ignored code 0
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev committed Oct 14, 2024
1 parent f89d7ad commit 17295b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat-ui/src/reducers/notifications-reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { NotificationsState } from '.';

const shouldLog = (error: Error): boolean => {
if (error instanceof ServerError) {
const ignoredCodes = [400, 401, 403, 404, 405, 500];
const ignoredCodes = [0, 400, 401, 403, 404, 405, 500];
return !ignoredCodes.includes(error.code);
}

Expand Down

0 comments on commit 17295b5

Please sign in to comment.