I'm using the pusher interface, and I would like to write a fallback for environments where the pusher service is unavailable. I can't find a way to check if the pusher subscription is ok.
I tried this
$scope.channel.bind('pusher:error', function() {
console.log(pusher:error);
});
and also pusher:subscription_error but it does nothing.
any help will be appreciated.