Open yoojinsca opened 1 year ago
Please provide a better error when sending a custom event.
NewRelic.recordCustomEvent only returns a false if it failed.
Can it return the actual error instead?
NewRelic.recordCustomEvent(eventType: String, attributes:[NSObject : AnyObject]!) -> Error?
It's frustrating trying to understand why the event wasn't recorded. The documentation does not list the possible reasons. In some cases, the NewRelic logs don't seem to reveal too much either.
Please provide a better error when sending a custom event.
Summary
NewRelic.recordCustomEvent only returns a false if it failed.
Can it return the actual error instead?
Possible Solution
Additional context
It's frustrating trying to understand why the event wasn't recorded. The documentation does not list the possible reasons. In some cases, the NewRelic logs don't seem to reveal too much either.