openplans/OpenTripPlanner — Issue #628: usually fail gracefully
Author: andrewbyrd
Created: 2012-03-09 15:43:13+00:00
State: open
Labels: backend, improvement

When detected, many common error conditions both make an ERROR-level log entry and throw an uncaught exception. This buries our nice one-line explanation of the problem in page upon page of irrelevant stack trace.

Many problems could be handled more gracefully. For example, when a graph cannot be found or loaded, it could be replaced with an empty graph. The end result as seen from the frontend is the same (the planner does not work right) so one still knows to take a look at the logs.