Closed gerwinbrunner closed 4 years ago
https://github.com/msavin/SteveJobs/blob/521d70fae5c614a657ec21f1ff6e8ad5a97420e4/package/server/imports/actions/execute/process.js#L24-L26
The job is set to be a failure, but the exception and stack in not persisted. It would be really nice if the stacktrace is not only logged to the console, but also to the Job failture.
Would that make sense to someone else?
Just adding this will auto add the error:
var failure = Toolbelt.failure(e.stack);
@gerwinbrunner good idea, can you PR it?
@gerwinbrunner error is now saved when a job fails
https://github.com/msavin/SteveJobs/blob/521d70fae5c614a657ec21f1ff6e8ad5a97420e4/package/server/imports/actions/execute/process.js#L24-L26
The job is set to be a failure, but the exception and stack in not persisted. It would be really nice if the stacktrace is not only logged to the console, but also to the Job failture.
Would that make sense to someone else?