handle RouteNotFoundException refs #1878