Skip to content

Conversation

@ream88
Copy link
Contributor

@ream88 ream88 commented Jun 13, 2016

by invoking the first configure block after your initializers are called. Before, using an initializer would generate a second clients, with the first one still logging to STDOUT.

Until this is merged, someone can use this in his application.rb to get the same result:

Rails.application.config.before_configuration do
  Raven.configuration.silence_ready = true
end

See also: https://github.com/getsentry/raven-ruby/issues/492

@ream88
Copy link
Contributor Author

ream88 commented Jun 14, 2016

Does anyone know what happened with the Travis build?

@dcramer
Copy link
Member

dcramer commented Jun 15, 2016

@ream88 i re-ran the build

@ream88
Copy link
Contributor Author

ream88 commented Jun 16, 2016

Ah, ok my local rspec wasn't running at all, and I misinterpreted the rubocop output as test output!

by invoking the first configure block after your
initializers are called.
Before, using an initializer would generate a
second clients, with the first one still logging
to STDOUT.

Until this is merged, someone can use this in his
application.rb to get the same result:

    Rails.application.config.before_configuration do
      Raven.configuration.silence_ready = true
    end
@ream88 ream88 force-pushed the really-silence-ready branch from bcb5e7d to 9a3bfee Compare June 16, 2016 10:57
@ream88
Copy link
Contributor Author

ream88 commented Jun 16, 2016

Yeah, fixed it now :)

@dcramer
Copy link
Member

dcramer commented Jun 20, 2016

Thanks!

@dcramer dcramer merged commit 1b666a1 into getsentry:master Jun 20, 2016
@ream88 ream88 deleted the really-silence-ready branch June 20, 2016 22:24
@eugeneius
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants