We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello :)
It would have been nice to be able to fail jobs "normally" like:
def perform() # ... # Trying to do something and get a known error Exq.fail_job("Error while trying to do a thing: #{error}") end
Id would be cleaner than just crashing :)
What do you think?
The text was updated successfully, but these errors were encountered:
Right now to reach this behavior I use code like this:
def fail_job(message) do Logger.error(message) # in order not to use exception to retry job, # send :normal exit signal to finish as failed exit(:normal) end
Sorry, something went wrong.
No branches or pull requests
Hello :)
It would have been nice to be able to fail jobs "normally" like:
Id would be cleaner than just crashing :)
What do you think?
The text was updated successfully, but these errors were encountered: