fix NP when position not mapped
This commit is contained in:
parent
db0c372941
commit
0dc200f983
3 changed files with 43 additions and 16 deletions
|
|
@ -166,6 +166,11 @@ public class RoutingEngine extends Thread
|
|||
long endTime = System.currentTimeMillis();
|
||||
logInfo( "execution time = " + (endTime-startTime)/1000. + " seconds" );
|
||||
}
|
||||
catch( IllegalArgumentException e)
|
||||
{
|
||||
errorMessage = e.getMessage();
|
||||
logInfo( "Exception (linksProcessed=" + linksProcessed + ": " + errorMessage );
|
||||
}
|
||||
catch( Exception e)
|
||||
{
|
||||
errorMessage = e instanceof IllegalArgumentException ? e.getMessage() : e.toString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue