Defect #24128

Sudo-Mode : hides full stack trace

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

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

0%

Category:Security
Target version:-
Resolution: Affected version:

Description

Hi,

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