Commit 0109d80f957845cda19d554fadda540650324a79

Authored by Joenio Costa
Committed by Daniela Feitosa
1 parent 52b357dc

Logging errors about profile editor

app/controllers/my_profile/profile_editor_controller.rb
... ... @@ -22,11 +22,12 @@ class ProfileEditorController < MyProfileController
22 22 end
23 23 end
24 24 end
25   - rescue
  25 + rescue Exception => ex
26 26 if profile.identifier.blank?
27 27 profile.identifier = params[:profile]
28 28 end
29 29 session[:notice] = _('Cannot update profile')
  30 + logger.error ex.to_s
30 31 end
31 32 end
32 33 end
... ...