Closed bircni closed 1 year ago
Is it easy to reproduce? Any example of how to cause this exception?
Unfortunately not... Cannot reproduce it again 🥲 An error was catched and I tried to log it via Aptabase
have you tried logging an error like this or something similar?
do {
// something that throws an error
} catch {
Aptabase.shared.trackEvent("catch_error", with: ["error": error])
}
If so, you could try using error.localizedDescription
instead because the dict with custom props only accepts strings and numbers.
But it shouldn't crash though, I'll have a look at why that happens
@bircni try updating to 0.1.0, I changed the trackEvent
signature to be more explicit with what types it accepts: Strings, Int, Float, etc. Anything else should throw a compilation error instead of failing during runtime.
Thanks!
Hi I am just getting an error from track Event