indaband / pusher_channels

A pure Dart implementation of the Pusher Channels Client
https://pusher.com/channels
MIT License
8 stars 3 forks source link

fix: error handling issue #14

Closed gildaswise closed 7 months ago

gildaswise commented 7 months ago

Sometimes the event bind pusher:error would receive a payload that doesn't have a code and we're not properly checking the types there. This PR updates it with logs from dart:developer and properly handles the nullable code