reduze exception info

This commit is contained in:
afischerdev 2023-03-14 14:27:57 +01:00
parent 3d31b8284c
commit 25be21fec9

View file

@ -352,7 +352,7 @@ public class RoutingEngine extends Thread {
}
private void logException(Throwable t) {
errorMessage = t instanceof IllegalArgumentException ? t.getMessage() : t.toString();
errorMessage = t instanceof RuntimeException ? t.getMessage() : t.toString();
logInfo("Error (linksProcessed=" + linksProcessed + " open paths: " + openSet.getSize() + "): " + errorMessage);
}