Skip to content

Commit

Permalink
Better error log
Browse files Browse the repository at this point in the history
  • Loading branch information
alanocallaghan committed Jan 17, 2025
1 parent c304179 commit aa0acbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/qupath/ext/instanseg/ui/Watcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private void handleModelPathsChanged(ListChangeListener.Change<? extends Path> c
try {
set.add(InstanSegModel.fromPath(modelPath));
} catch (IOException e) {
logger.error("Unable to load model from path", e);
logger.error("Unable to load model from {}", modelPath, e);
}
}
models.setAll(set);
Expand Down

0 comments on commit aa0acbb

Please sign in to comment.