diff --git a/app/models/linter_check_run.rb b/app/models/linter_check_run.rb index 00f96a73..cec22210 100644 --- a/app/models/linter_check_run.rb +++ b/app/models/linter_check_run.rb @@ -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