Skip to content

Commit 6544366

Browse files
committed
fix: print url which causes error message to strerr
1 parent 0832d84 commit 6544366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/edu/kit/datamanager/ro_crate/context/RoCrateMetadataContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public void addToContextFromUrl(String url) {
165165
jsonNode = objectMapper.readValue(response.getEntity().getContent(),
166166
JsonNode.class);
167167
} catch (IOException e) {
168-
System.err.println("Cannot get context from this url.");
168+
System.err.println(String.format("Cannot get context from url %s", url));
169169
return;
170170
}
171171
if (url.equals(DEFAULT_CONTEXT)) {

0 commit comments

Comments
 (0)