pusher / push-notifications-swift

Swift SDK for the Pusher Beams product:
https://www.pusher.com/beams
MIT License
34 stars 24 forks source link

Objective C: Not useful errors because the native swift error is not converted(?) #158

Closed guruz closed 3 years ago

guruz commented 4 years ago

In the completion handler for setUserId I only get:

Bildschirmfoto 2020-04-01 um 14 36 38

(same in the log message, just shown in debugger for clarity ^)

Only when clicking in the caller frame in the debugger, I see what the actual problem is:

Bildschirmfoto 2020-04-01 um 14 37 03

I'm not a swift guy so no idea but this seems related: https://stackoverflow.com/a/43434289/2941 https://www.swiftbysundell.com/tips/converting-swift-errors-to-nserror/

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you'd like this issue to stay open please leave a comment indicating how this issue is affecting you. Thankyou.