gojek / courier-flutter

Dart port of our popular courier library
43 stars 8 forks source link

Add try catch when logging handle message using UTF-8 decode #6

Closed alfianlosari closed 1 year ago

alfianlosari commented 1 year ago

The handleMessage method throws an exception when the bytes format is not string (e.g protobuf, etc). In this case, i added try catch so new data can still be published to messageStreamController