if (error.hasOwnProperty('status')&&error.status==401){
this.notifications.notify("Your login appears to have expired. Please log in again",()=>{this.authService.updateAgentContents().subscribe((_)=>{return})});
return;
}
this.tsub.unsubscribe();
if (identity.expiry<Date.now()){
this.notifications.notify("Your login has expired. Please log in again",()=>{this.authService.updateAgentContents().subscribe((_)=>{return})});
...
...
@@ -53,6 +58,7 @@ export class JobsService {
return;
}
this.notifications.notify("Unable to retrieve a list of running jobs.\nThe error messge was "+error.error.message);