reduze exception info
This commit is contained in:
parent
3d31b8284c
commit
25be21fec9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue