-
Notifications
You must be signed in to change notification settings - Fork 121
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
Handling errors #54
Comments
Hi, I think this gem acts like a bridge between your app and aws SQS. So both failed jobs and pause jobs are handled at aws SQS. Failed job can handle by SQS Dead Letter Queue.. Pause a job, I'm not sure how to do that. Doesn't seem can be paused. |
@lovesmall - I added a "rescue Exception => exception" to stop the SQS job from rerunning, but moved over to https://github.com/phstc/shoryuken due to the error handling docs. |
As active-elastic-job is implemented as a rack middleware things like the Rails log and exception tracking aren't possible 😌 |
@MRReynolds - We're no longer using this gem, but rescuing the errors worked for my team. |
Should the documentation include ways to handle failed jobs so that SQS does not keep running them indefinitely?
The text was updated successfully, but these errors were encountered: