Skip to content

Commit

Permalink
Add api method to get failed job error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfalke committed Dec 2, 2024
1 parent 1910afe commit 02da8b8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/libs/multi-blast/src/lib/utils/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,14 @@ export class BlastApi extends FetchClientWithCredentials {
});
}

fetchJobError(jobId: string) {
return this.fetch({
path: `${JOBS_PATH}/${jobId}/error`,
method: 'GET',
transformResponse: ioTransformer(string),
});
}

rerunJob(jobId: string) {
return this.taggedFetch({
path: `${JOBS_PATH}/${jobId}`,
Expand Down

0 comments on commit 02da8b8

Please sign in to comment.