Skip to content

Commit

Permalink
Prevent stream error notification after migration
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om authored and jaredjennings committed May 11, 2021
1 parent 36c6a91 commit 7551233
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions www/src/app/core/services/common/StreamService.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,11 @@ export default function (app) {
// Initialize the stream;
this.isPolling = false;

if (err.status === 401) {
return;
}
if (err.status !== 404) {
NotificationService.error('StreamSrv', err.data, err.status);

if (err.status === 401) {
return;
}
}

this.init();
Expand Down Expand Up @@ -181,4 +180,4 @@ export default function (app) {
}

app.service('StreamSrv', StreamSrv);
}
}

0 comments on commit 7551233

Please sign in to comment.