Catch NoRouteToHostException

Issue #445 resolved
Desrever Nu created an issue
buy : 1848.15 sell : 452.90911825 tier: 2 response: {"submitted":true},INFO,com.nubits.nubot.tasks.SubmitLiquidityinfoTask,checkOrders,Mar 26 2015 21:51:57.613 UTC  
java.net.NoRouteToHostException: No route to host,SEVERE,com.nubits.nubot.trading.wrappers.BitcoinCoIDWrapper$BitcoinCoIdService,executeQuery,Mar 26 2015 21:54:03.575 UTC  
ApiError [4 : Null Return],SEVERE,com.nubits.nubot.tasks.SubmitLiquidityinfoTask,reportTier2,Mar 26 2015 21:54:03.646 UTC  

Comments (7)

  1. Sam Griffiths

    I belive this is being caught. The Exception shown in the log is the printed exception that causes the ApiError[4:Null Return]. If it is felt to beneeded I can make the ApiError more descriptive of the issue but printing the Exception to the Log semed the logical way

  2. Log in to comment