Skip to content
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

Que integration #305

Closed
wants to merge 1 commit into from
Closed

Que integration #305

wants to merge 1 commit into from

Conversation

s-andringa
Copy link
Contributor

@s-andringa s-andringa commented Jun 29, 2016

Integrates Que. Also deals with ActiveJob-scheduled Que jobs.

@kattrali
Copy link
Contributor

kattrali commented Aug 5, 2016

Whoa, this is cool. I apologize for the delay, looking at this now.

@s-andringa
Copy link
Contributor Author

s-andringa commented Aug 8, 2016

Thanks @kattrali. One thing to note: if a custom Que error handler is set after Bugsnag-ruby is initialized, then the error handler that Bugsnag sets will be overruled by it. One could possibly overcome this by calling the original handler from the new handler, e.g. by doing something similar to this:

original_handler = Que.error_handler
Que.error_handler = proc do |error, job|

  # Custom handling here...

  original_handler.call(error, job) if original_handler
end

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.

2 participants