diff --git a/web/app/src/views/JobsView.vue b/web/app/src/views/JobsView.vue index 1282db69..3063d05f 100644 --- a/web/app/src/views/JobsView.vue +++ b/web/app/src/views/JobsView.vue @@ -231,7 +231,16 @@ export default { // Forward the full job to Tabulator, so that that gets updated too. this.$refs.jobsTable.processJobUpdate(job); this._recalcTasksTableHeight(); - }); + }) + .catch((err) => { + if (err.status == 404) { + // It can happen that a job cannot be found, for example when it was asynchronously deleted. + this.jobs.deselectAllJobs(); + return; + } + console.log(`Unable to fetch job ${jobID}:`, err); + }) + ; }, /**