Added a log message to indicate a route error.