reduze exception info
This commit is contained in:
parent
3d31b8284c
commit
25be21fec9
@ -352,7 +352,7 @@ public class RoutingEngine extends Thread {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void logException(Throwable t) {
|
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);
|
logInfo("Error (linksProcessed=" + linksProcessed + " open paths: " + openSet.getSize() + "): " + errorMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user