mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
try get log params
This commit is contained in:
1 parent
168fc8bd03
commit
704fbc2393
1 file changed
+1
-1
@@ -128,7 +128,7 @@ Rails.application.configure do
|
||||
config.lograge.formatter = ->(data) { data.except(:path, :location).to_json }
|
||||
|
||||
config.lograge.custom_payload do |controller|
|
||||
params = controller.request.params || {}
|
||||
params = controller.request.try(:params) || {}
|
||||
|
||||
{
|
||||
fwd: controller.request.ip,
|
||||
|
||||
Reference in new issue
Block a user