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…
Reference in New Issue