プロジェクト

全般

プロフィール

Vote #77916

未完了

Sudo-Mode : hides full stack trace

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Security_51
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
51
version_id:
0
issue_org_id:
24128
author_id:
36999
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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 ?

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0