Skip to content

Commit

Permalink
Record error when a job fails
Browse files Browse the repository at this point in the history
  • Loading branch information
msavin committed Jul 8, 2019
1 parent 8b25805 commit 5526204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/server/imports/actions/execute/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var process = function (doc, callback) {
}

catch (e) {
var failure = Toolbelt.failure();
var failure = Toolbelt.failure(e.stack);

Utilities.logger("Job failed to run due to code error: " + doc.name)
console.log(e);
Expand Down

0 comments on commit 5526204

Please sign in to comment.