Skip to content

Commit a261d67

Browse files
Eric Prud'hommeauxdlongley
authored andcommitted
Update lib/documentLoaders/node.js
Co-Authored-By: Dave Longley <[email protected]>
1 parent 1691fb9 commit a261d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/documentLoaders/node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module.exports = ({
8383
const statusText = http.STATUS_CODES[res.statusCode];
8484
if(res.statusCode >= 400) {
8585
throw new JsonLdError(
86-
'URL ' + url + ' could not be dereferenced: ' + statusText,
86+
`URL "${url}" could not be dereferenced: ${statusText}`,
8787
'jsonld.InvalidUrl', {
8888
code: 'loading document failed',
8989
url,

0 commit comments

Comments
 (0)