Merge pull request #9465 from colinux/fix-log-destruction-trace
ETQ exploitant: amélioration du log de destruction de dossier
This commit is contained in:
commit
56f1627b26
1 changed files with 1 additions and 1 deletions
|
@ -1408,7 +1408,7 @@ class Dossier < ApplicationRecord
|
|||
request_id: Current.request_id,
|
||||
user_id: Current.user&.id,
|
||||
controller: app_traces.find { _1.match?(%r{/controllers/|/jobs/}) },
|
||||
caller: app_traces.second # first is the callback definition
|
||||
caller: app_traces.first
|
||||
}
|
||||
|
||||
logger = Lograge.logger || Rails.logger
|
||||
|
|
Loading…
Reference in a new issue