Shook
Committed by GitHub

fix(socket_notifier): _tryOn() did not cover all cases

When JSON content is a List type, the catch syntax in `_tryOn()` method will fail to catch the error.
deleted `on Exception` will fix the bug.
... ... @@ -72,7 +72,7 @@ class SocketNotifier {
if (_onEvents!.containsKey(event)) {
_onEvents![event]!(data);
}
} on Exception catch (_) {
} catch (_) {
return;
}
}
... ...