Skip to content

Commit 6803118

Browse files
authored
chore: add reference to output (#2131)
1 parent 9cc6ccc commit 6803118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/jbang/source/resolvers/RemoteResourceResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public ResourceRef resolve(String resource, boolean trusted) {
4646
try {
4747
return alwaysTrust || trusted ? fetchFromURL(ref) : fetchScriptFromUntrustedURL(ref);
4848
} catch (IOException | URISyntaxException e) {
49-
throw new ResourceNotFoundException(resource, "Could not download", e);
49+
throw new ResourceNotFoundException(resource, "Could not download " + ref, e);
5050
}
5151
});
5252
}

0 commit comments

Comments
 (0)