Skip to content

Commit

Permalink
fix: more error details for firefall job
Browse files Browse the repository at this point in the history
  • Loading branch information
solaris007 committed May 22, 2024
1 parent ed60db8 commit 1016b07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default class FirefallClient {
} while (jobStatusResponse.status === 'PROCESSING' || jobStatusResponse.status === 'WAITING');

if (jobStatusResponse.status !== 'SUCCEEDED') {
throw new Error(`Job did not succeed, status: ${jobStatusResponse.status}`);
throw new Error(`Job did not succeed, status: ${jobStatusResponse.status}.\n${JSON.stringify(jobStatusResponse, null, 2)}`);
}

return jobStatusResponse;
Expand Down

0 comments on commit 1016b07

Please sign in to comment.