When passing an object as Payload in Local Notification you get a non-descriptive error message

Would be great if the error message actually stated that the argument is of the wrong type.

libc++abi.dylib: terminating with uncaught exception of type uThrowable: Uno.Exception
* thread #1: tid = 0x1e8e1, 0x0000000180604fd8 libsystem_kernel.dylib`mach_msg_trap + 8, queue = 'com.apple.main-thread'
  * frame #0: 0x0000000180604fd8 libsystem_kernel.dylib`mach_msg_trap + 8
    frame #1: 0x0000000180604e54 libsystem_kernel.dylib`mach_msg + 72
    frame #2: 0x0000000180a3cc60 CoreFoundation`<redacted> + 196
    frame #3: 0x0000000180a3a964 CoreFoundation`<redacted> + 1032
    frame #4: 0x0000000180964c50 CoreFoundation`CFRunLoopRunSpecific + 384
    frame #5: 0x000000018224c088 GraphicsServices`GSEventRunModal + 180
    frame #6: 0x0000000185c52088 UIKit`UIApplicationMain + 204
    frame #7: 0x00000001001d5900 Veckoappen`main(argc=1, argv=0x000000016fdbfbf8) + 116 at Main.mm:17 [opt]
    frame #8: 0x00000001805028b8 libdyld.dylib`<redacted> + 4

ERROR: iOS run failed.
fuse: Errors were encountered while building the project

Oof, yeah that’s ugly. I’ll get this sorted.

Thanks for the post

I have a fix for this written internally and awaiting review. Keep an eye out for it in a future release

Thanks again