mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 23:19:25 +08:00
DEV: Report the backtrace as well.
This commit is contained in:
parent
0ea8c1943f
commit
ae6a5419e0
@ -188,7 +188,7 @@ class Report
|
||||
# given reports can be added by plugins we don’t want dashboard failures
|
||||
# on report computation, however we do want to log which report is provoking
|
||||
# an error
|
||||
Rails.logger.error("Error while computing report `#{report.type}`: #{e.message}")
|
||||
Rails.logger.error("Error while computing report `#{report.type}`: #{e.message}\n#{e.backtrace.join("\n")}")
|
||||
end
|
||||
|
||||
report
|
||||
|
Loading…
x
Reference in New Issue
Block a user