Skip to content

Commit

Permalink
Log exception properly
Browse files Browse the repository at this point in the history
  • Loading branch information
alanocallaghan committed Jul 31, 2024
1 parent 3a3be74 commit 239954d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qupath.ext.instanseg.ui;
package qupath.ext.instanseg.core;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -76,7 +76,7 @@ public void makeMeasurements(Collection<PathObject> detections) {
}
});
} catch (Exception e) {
throw new RuntimeException(e);
logger.error("Unable to create transformed server, can't make intensity measurements", e);
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.controlsfx.control.SearchableComboBox;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import qupath.ext.instanseg.core.DetectionMeasurer;
import qupath.ext.instanseg.core.InstanSegModel;
import qupath.fx.dialogs.Dialogs;
import qupath.fx.dialogs.FileChoosers;
Expand Down

0 comments on commit 239954d

Please sign in to comment.