Hotfix: Convert Hash to JSON before sending to Sentry

This commit is contained in:
Sebastian Serth
2020-11-12 15:02:51 +01:00
parent 08278fa4e9
commit 56b6cc1477

View File

@ -84,7 +84,7 @@ class PyLintAdapter < TestingFrameworkAdapter
def self.get_t(key, default)
translation = I18n.t(key, locale: :de, default: default)
Raven.capture_message({key: key, default: default}) if translation == default
Raven.capture_message({key: key, default: default}.to_json) if translation == default
translation
end
end