When we pass exception as string to the notify method, then datadog does not collect it error to show in Error tracking dashboard.
Datadog expects exception as Exception class, where it can fetch message and backtrace from that exception and show the same in Error tracking dashboard.
When we pass exception as string to the notify method, then datadog does not collect it error to show in Error tracking dashboard.
Datadog expects exception as Exception class, where it can fetch message and backtrace from that exception and show the same in Error tracking dashboard.
Reference - https://github.com/DataDog/dd-trace-rb/blob/9add3ebb5ed9d055682a5d1ce6772949c74f05a7/lib/datadog/tracing/metadata/errors.rb#L14