97 |
} catch (java.io.IOException ioe) { |
} catch (java.io.IOException ioe) { |
98 |
logger.warning("Read failed, station="+station + ". " + ioe.getMessage() ); |
logger.warning("Read failed, station="+station + ". " + ioe.getMessage() ); |
99 |
Statistics.getInstance().incrementDepartureErrors(); |
Statistics.getInstance().incrementDepartureErrors(); |
100 |
beans = generateErrorBean(1); |
resp.sendError(500, "backend didnt answer"); |
101 |
|
return; |
102 |
} catch (CircuitBreakerException cbe) { |
} catch (CircuitBreakerException cbe) { |
103 |
logger.warning("Circuitbreaker - failing fast, station=" +station); |
logger.warning("Circuitbreaker - failing fast, station=" +station); |
104 |
Statistics.getInstance().incrementDepartureErrors(); |
Statistics.getInstance().incrementDepartureErrors(); |