Defect #24128

Sudo-Mode : hides full stack trace

Added by Jérôme BATAILLE about 6 years ago. Updated about 6 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution: Affected version:



In the case of errors (500), the stack trace is stopped to the following instruction :
lib/redmine/sudo_mode.rb:63:in `sudo_mode', thus we loose the rest of the stack trace.

I suppose it's because of the around_filter that yields the action, it seems that ruby can't collect the stack trace with block calls

Is there is a way to fix this ?

Also available in: Atom PDF