17 |
|
|
18 |
import dk.thoerup.android.traininfo.common.MetroBean; |
import dk.thoerup.android.traininfo.common.MetroBean; |
19 |
import dk.thoerup.circuitbreaker.CircuitBreakerException; |
import dk.thoerup.circuitbreaker.CircuitBreakerException; |
20 |
import dk.thoerup.traininfoservice.Statistics; |
|
21 |
|
|
22 |
|
|
23 |
|
|
68 |
return; |
return; |
69 |
} catch (Exception e) { |
} catch (Exception e) { |
70 |
logger.log(Level.WARNING, "Unknown exception, metro-station=" +station, e); |
logger.log(Level.WARNING, "Unknown exception, metro-station=" +station, e); |
71 |
Statistics.getInstance().incrementDepartureErrors(); |
//Statistics.getInstance().incrementDepartureErrors(); |
72 |
resp.sendError(500); |
resp.sendError(500); |
73 |
return; |
return; |
74 |
} |
} |