Serialize trestrun for Sentry logging
This commit is contained in:
@ -24,7 +24,7 @@ class LinterCheckRun < ApplicationRecord
|
||||
)
|
||||
rescue ActiveRecord::RecordInvalid
|
||||
# Something bad happened. Probably, the RegEx in lib/py_lint_adapter.rb didn't work.
|
||||
Sentry.set_extras(testrun: testrun, linter_result: linter_result)
|
||||
Sentry.set_extras(testrun: testrun.inspect, linter_result: linter_result)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user