Skip to content

Commit

Permalink
Ignore errors on taggers/active
Browse files Browse the repository at this point in the history
The number of active taggers is purely informational and not application-breaking. So if we can't display the extra info: bad luck, but it's not that important.

Might decide on some visual response in the UI in case of an error at some point
  • Loading branch information
PrinsINT committed Nov 18, 2024
1 parent 82dbcf6 commit 604cb31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/stores/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ const jobs = defineStore('jobs', () => {
getDocsAtTaggers()
.then((response) => {
numActiveDocs.value = response.data
}).catch((error) => app.handleServerError("get number of active jobs", error))
}).catch((error) => {
// Ignore
})
}

// Exports
Expand Down

0 comments on commit 604cb31

Please sign in to comment.