Open
Description
openedon Nov 10, 2023
Expected behavior
When using Grape's rescue_from :all
to capture exceptions, I expect these exceptions to be handled internally and not to appear in Datadog's Error Tracking.
Actual behavior
Despite using rescue_from :all
, exceptions are still being sent to Datadog's Error Tracking. It seems that the error is assigned to the span before the rescue_from
block is called, so the error still appears in the Error Tracking dashboard.
Additional context
If Grape's instrumentation is removed, the context in rack
spans is lost, e.g.:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment