added error log to show uri in Router::handleError