mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-15 06:06:35 +00:00
Update toaster-error-handler.ts
This commit is contained in:
parent
8bd289c3d2
commit
5aeecb08a1
@ -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) {} else {
|
||||
if (err.error && err.error.status && !(err.error.status === 403)) {
|
||||
super.handleError(err);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user