-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Undefined method unhandled_error
for nil
#1485
Comments
Looks like something outside of the job itself is raising with then causes the result to be Can you make the following edit? 2921c44 |
`Gem::LoadError` does not inherit from `StandardError` and as such won't be rescued. Just let it bubble up. Closes bensheldon#1485
`Gem::LoadError` does not inherit from `StandardError` and as such won't be rescued. Just let it bubble up. Closes bensheldon#1485
Right, so I guess your job creates an attachment somewhere, and that attachment has some variant(s). That functionality does require this gem and it autoloaded only once actually accessed. I openend #1486 to show the proper error message by default. |
`Gem::LoadError` does not inherit from `StandardError` and as such won't be rescued. Just let it bubble up. Closes bensheldon#1485
See the following:
This errors is happening when using an inline adapter. I am not sure how result can be
nil
, but I happy to provide more information.GoodJob version: 4.2.1
Rails version: 7.1.4
Ruby version 3.3.5
The text was updated successfully, but these errors were encountered: