Skip to content

Commit 31898c1

Browse files
brianorwhateverdlongley
authored andcommitted
Update lib/ContextResolver.js
Co-authored-by: Dave Longley <[email protected]>
1 parent 9b48055 commit 31898c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ContextResolver.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ module.exports = class ContextResolver {
184184
// ensure ctx is an object
185185
if(!_isObject(context)) {
186186
throw new JsonLdError(
187-
'Dereferencing the URL ' + url + ' did not result in a JSON object. ' +
187+
`Dereferencing the URL "${url}" did not result in a JSON object. ` +
188188
'The response was valid JSON, but it was not a JSON object.',
189189
'jsonld.InvalidUrl', {code: 'invalid remote context', url});
190190
}

0 commit comments

Comments
 (0)