mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-19 13:07:52 +00:00
Update toaster-error-handler.ts
This commit is contained in:
parent
61d4e2461f
commit
fe02a4cb79
@ -5,7 +5,7 @@ import { SentryErrorHandler } from './sentry-error-handler';
|
||||
@Injectable()
|
||||
export class ToasterErrorHandler extends SentryErrorHandler {
|
||||
handleError(err: any): void {
|
||||
if (err.error && err.error.status && !(err.error.status === 403 || err.error.status === 404)) {
|
||||
if (err.error && err.error.status && !(err.error.status === 403 || err.error.status === 404 || err.error.status === 409)) {
|
||||
super.handleError(err);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user