We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1259d4f + 7449b55 commit 3b2867aCopy full SHA for 3b2867a
lib/response.js
@@ -54,16 +54,10 @@ Response = (function () {
54
this._attachments.push(...attachments)
55
this.meta('set_job_attachments', JSON.stringify(this._attachments))
56
}
57
- Response.prototype.job_ignore = function (status, data) {
58
- this.meta('set_job_status', 'ignored')
59
- this.meta('set_job_status_message', status)
60
- if (data) {
61
- this._respond(data)
62
- }
63
64
+ Response.prototype.job_ignore = function (status, reason, data) {
65
this.meta('set_job_status', 'ignored')
66
this.meta('set_job_status_message', status)
+ this.meta('set_job_failure_message', reason)
67
if (data) {
68
this._respond(data)
69
0 commit comments