this.notifications.notify("Your login appears to have expired. Please log in again",()=>{this.authService.updateAgentContents().subscribe((_)=>{return})});
this.notifications.notify("Your login appears to have expired. Please log in again",()=>{this.authService.updateAgentContents().subscribe((_)=>{return})});
return;
}
this.notifications.notify("Unable to retrieve a list of running jobs.\nThe error messge was "+error.error.message);
this.notifications.notify("The Server timed out while retrieveing a list of running jobs. Is the application server OK?");
returnof([]);
}
if(error.errorinstanceofErrorEvent){
this.notifications.notify("A networking error occured. Is your internet connection OK?")
returnthrowError(error);
}
}
publicgetJobsError(error,identity:Identity){
console.error(error);
this.notifications.notify("Unable to retrieve a list of running jobs.\nThe error wasn't specified\nPlease report what you were doign via the contact us link",()=>{this.authService.updateAgentContents().subscribe((_)=>{return})});
this.notifications.notify("Unable to retrieve a list of running jobs.\nThis is probably an error on our end.\nPlease report what you were doing via the contact us link",()=>{this.authService.updateAgentContents().subscribe((_)=>{return})});
// (data,tunnelresp) => { data[1]['localport'] = (<any> tunnelresp)['localport'] ; return data}), // we don't care about data from the tunnel as long as it was successful.`
(data,tunnelresp)=>{data[1]['localport']=(<any>tunnelresp)['localport'];returndata}),// we don't care about data from the tunnel as long as it was successful.`
this.notifications.notify("Your login has expired. Please log in again",()=>{this.authorisationService.updateAgentContents().subscribe(()=>{return})});