Skip to content

Commit ae1d814

Browse files
committed
feat(core): report the name of the Content Document where an unexpected error occurred
1 parent 81e0f22 commit ae1d814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ace-core/src/checker/checker-chromium.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async function checkSingle(spineItem, epub, browser) {
7474
return results;
7575
} catch (err) {
7676
winston.debug(`Error when running HTML checks: ${err}`);
77-
throw new Error('Failed to check HTML content');
77+
throw new Error(`Failed to check Content Document '${spineItem.relpath}'`);
7878
}
7979
}
8080

0 commit comments

Comments
 (0)