-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: print async_handler class to the log "Ready for review" #1079
base: master
Are you sure you want to change the base?
feat: print async_handler class to the log "Ready for review" #1079
Conversation
it "shows 'Rollbar::Delay::SuckerPunch' on the log" do | ||
Rollbar.configure do |config| | ||
config.use_sucker_punch | ||
config.transmit = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put transmit = false
to skip Scheduled
log
is it ok?
@@ -1863,6 +1893,16 @@ def backtrace | |||
expect(thread.priority).to eq(custom_priority) | |||
thread.join | |||
end | |||
|
|||
it "shows 'Rollbar::Delay::Thread' on the log" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found that ActiveJob test does not exist on rollbar_spec
but it shouldn't be a problem I think
) | ||
info_message = "[Rollbar] Details: #{uuid_url} (only available if report was successful)" | ||
if configuration.async_handler | ||
async_handler = configuration.async_handler.class == Class ? configuration.async_handler : configuration.async_handler.class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if async_handler is a Proc, then it will print Proc
@saiqulhaq Looks good. When #1082 merges, you should be able to rebase to this PR and fix the CI issues. I didn't see anything like the Rollbar.js issue in your comment, but did fix the dependency that caused CI to fail on this PR. |
ok will do |
Description of the change
Related to the issue #1075.
Example:
Type of change
Development
Code review