appsignal/appsignal-ruby

AtExit hook tries to report an error when there is none

benedikt opened this issue ยท 2 comments

When typing exit in a rails console session in production, the gem logs an error message because there is not error.

[1] pry(main)> exit
[2024-08-30T12:30:16 (process) #2][ERROR] appsignal: Appsignal.report_error: Cannot add error. The given value is not an exception: nil

It's not a huge problem, but a bit irritating.

(Sorry for reporting a lot of stuff recently ๐Ÿ˜…)

Thanks for the report @benedikt! I'll get right on it.

(Sorry for reporting a lot of stuff recently ๐Ÿ˜…)

Please keep reporting anything you find! I made a lot of changes, and some of these things slipped through.

Fixed in Ruby gem 3.0.5!