From a411d97893c58856e4387439e6c69411e614436a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ezr=20Ond=C5=99ej?= Date: Sun, 28 Jul 2013 00:23:14 +0200 Subject: [PATCH] Error on missing template has to have to_s to adding to string --- app/controllers/dmsf_upload_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/dmsf_upload_controller.rb b/app/controllers/dmsf_upload_controller.rb index 27e40fe4..7015b1ed 100644 --- a/app/controllers/dmsf_upload_controller.rb +++ b/app/controllers/dmsf_upload_controller.rb @@ -171,7 +171,7 @@ class DmsfUploadController < ApplicationController begin DmsfMailer.files_updated(User.current, files).deliver rescue ActionView::MissingTemplate => e - Rails.logger.error "Could not send email notifications: " + e + Rails.logger.error "Could not send email notifications: " + e.to_s end end unless failed_uploads.empty?