67 |
} catch (java.io.IOException ioe) { |
} catch (java.io.IOException ioe) { |
68 |
logger.warning("(timetable) Read failed, type=" + type + ", train="+train + ". " + ioe.getMessage()); |
logger.warning("(timetable) Read failed, type=" + type + ", train="+train + ". " + ioe.getMessage()); |
69 |
Statistics.getInstance().incrementTimetableErrors(); |
Statistics.getInstance().incrementTimetableErrors(); |
70 |
timetable = generateErrorBean(1); |
//timetable = generateErrorBean(1); |
71 |
|
response.sendError( 500, "Backend didn't answer" ); |
72 |
} catch (CircuitBreakerException cbe) { |
} catch (CircuitBreakerException cbe) { |
73 |
logger.warning("Circuitbreaker - failing fast, type=" + type + ", train="+train); |
logger.warning("Circuitbreaker - failing fast, type=" + type + ", train="+train); |
74 |
Statistics.getInstance().incrementTimetableErrors(); |
Statistics.getInstance().incrementTimetableErrors(); |