Skip to content

Commit

Permalink
Better error message on worker failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed May 2, 2024
1 parent 972b06d commit 59e1049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/static/app/js/classes/Workers.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default {
}).fail(error => {
console.warn(error);
if (errorCount++ < 10) setTimeout(() => check(), 2000);
else cb(JSON.stringify(error));
else cb(error.statusText);
});
};

Expand Down

0 comments on commit 59e1049

Please sign in to comment.