Skip to content

Commit

Permalink
add failed job name to err msg. Fixes #1193 (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb authored Jan 12, 2019
1 parent 4d2940f commit f10b63e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/plugins/ExecuteJob/ExecuteJob.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,10 @@ define([

// Handle the blob retrieval failed error
ExecuteJob.prototype.onBlobRetrievalFail = function (node, input) {
var job = this.core.getParent(node),
e = `Failed to retrieve "${input}" (BLOB_FETCH_FAILED)`,
consoleErr = `Failed to execute operation: ${e}`;
const job = this.core.getParent(node);
const name = this.getAttribute(job, 'name');
const e = `Failed to retrieve "${input}" (BLOB_FETCH_FAILED)`;
let consoleErr = `Failed to execute operation: ${e}`;

consoleErr += [
'\n\nA couple things to check out:\n',
Expand Down

0 comments on commit f10b63e

Please sign in to comment.