Skip to content

Commit

Permalink
feat(core): report the name of the Content Document where an unexpect…
Browse files Browse the repository at this point in the history
…ed error occurred
  • Loading branch information
rdeltour committed Dec 13, 2017
1 parent 81e0f22 commit ae1d814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ace-core/src/checker/checker-chromium.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function checkSingle(spineItem, epub, browser) {
return results;
} catch (err) {
winston.debug(`Error when running HTML checks: ${err}`);
throw new Error('Failed to check HTML content');
throw new Error(`Failed to check Content Document '${spineItem.relpath}'`);
}
}

Expand Down

0 comments on commit ae1d814

Please sign in to comment.