Does anyone have a way of highlighting exceptions ...
# kotlin-native
a
Does anyone have a way of highlighting exceptions on iOS for methods that weren’t tagged with
@Throws
? Recently got burned because we forgot to add that annotation to a method and the crashes weren’t even getting sent up to Crashlytics 😅
b
Why weren’t they making it to crashlytics?
a
Honestly not sure —I assumed it had something to do with this blurb: “Other Kotlin exceptions reaching Swift/Objective-C are considered unhandled and cause program termination” (from here) Should they have been showing up in crashlytics anyway?
b
Yeah they should. One caveat is that crashes in workers fail silently. You have to have a handler somewhere to force crash the app (for workers)
r
You need to do a bit more work to integrate Kotlin + iOS + crashlytics. See https://github.com/touchlab/CrashKiOS.