mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:40:00 +08:00
DEV: Log original exception/backtrace for RequestTracker errors (#26802)
This commit is contained in:
parent
1510c6d004
commit
620f76cec1
|
@ -203,7 +203,7 @@ class Middleware::RequestTracker
|
|||
begin
|
||||
self.class.get_data(env, result, info, request)
|
||||
rescue StandardError => e
|
||||
Rails.logger.warn("RequestTracker.get_data failed: #{e}")
|
||||
Discourse.warn_exception(e, message: "RequestTracker.get_data failed")
|
||||
nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user