From 0109d80f957845cda19d554fadda540650324a79 Mon Sep 17 00:00:00 2001 From: Joenio Costa Date: Mon, 21 Mar 2011 15:53:37 -0300 Subject: [PATCH] Logging errors about profile editor --- app/controllers/my_profile/profile_editor_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/my_profile/profile_editor_controller.rb b/app/controllers/my_profile/profile_editor_controller.rb index fbedfd4..91bb59e 100644 --- a/app/controllers/my_profile/profile_editor_controller.rb +++ b/app/controllers/my_profile/profile_editor_controller.rb @@ -22,11 +22,12 @@ class ProfileEditorController < MyProfileController end end end - rescue + rescue Exception => ex if profile.identifier.blank? profile.identifier = params[:profile] end session[:notice] = _('Cannot update profile') + logger.error ex.to_s end end end -- libgit2 0.21.2