From 9ecab79ce0ada79e57e7e398a5080fced183cc2d Mon Sep 17 00:00:00 2001 From: Vincent Robert Date: Tue, 4 Jul 2017 10:20:34 +0200 Subject: Add details to error message --- app/controllers/application_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index a05f54077..a71103a89 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -502,8 +502,8 @@ class ApplicationController < ActionController::Base end # Handler for ActionView::MissingTemplate exception - def missing_template - logger.warn "Missing template, responding with 404" + def missing_template(exception) + logger.warn "Missing template, responding with 404: #{exception}" @project = nil render_404 end -- 2.12.1