Upgrade to newest Sentry
This commit is contained in:
@ -11,7 +11,7 @@ h2 Version
|
||||
|
||||
div.mb-4
|
||||
= "Release:"
|
||||
pre = Raven.configuration.release
|
||||
pre = Sentry.configuration.release
|
||||
|
||||
h2 Docker
|
||||
|
||||
|
@ -20,12 +20,12 @@ html lang="#{I18n.locale || I18n.default_locale}"
|
||||
script type="text/javascript"
|
||||
| I18n.defaultLocale = "#{I18n.default_locale}";
|
||||
| I18n.locale = "#{I18n.locale}";
|
||||
- unless Raven.configuration.current_environment == "development"
|
||||
- unless Sentry.configuration.environment == "development"
|
||||
| Sentry.init({
|
||||
| dsn: 'https://637ca99538224b4bb28cd9e670e1b372@sentry.xikolo.de/33',
|
||||
| attachStacktrace: true,
|
||||
| release: "#{Raven.configuration.release}",
|
||||
| environment: "#{Raven.configuration.current_environment}",
|
||||
| release: "#{Sentry.configuration.release}",
|
||||
| environment: "#{Sentry.configuration.environment}",
|
||||
| });
|
||||
- if @current_user
|
||||
| Sentry.configureScope(function(scope) {
|
||||
|
@ -40,7 +40,7 @@
|
||||
- output_runs.each do |testrun|
|
||||
- output = testrun.try(:output)
|
||||
- if output
|
||||
- Raven.extra_context(output: output)
|
||||
- Sentry.set_extras(output: output)
|
||||
- begin
|
||||
- Timeout::timeout(2) do
|
||||
// (?:\\"|.) is required to correctly identify " within the output.
|
||||
|
Reference in New Issue
Block a user