Skip to content

Commit 3a21be1

Browse files
committed
Use the err variable in a console.error().
Mostly done for eslint, but handy too for anyone debugging.
1 parent c4c05a0 commit 3a21be1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/assertions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,5 +220,6 @@ export async function injectOrReject(endpoints, inputFile) {
220220
} catch(err) {
221221
await assert.rejects(endpoints.issue(require(inputFile)),
222222
'Failed to reject a VC without a missing or incomplete `@context`.');
223+
console.error(err);
223224
}
224225
}

0 commit comments

Comments
 (0)