Closed herzi closed 10 years ago
I believe that "error"
callback does not provide an error parameter.
Oh wait! Also, the "error"
callback is used with PubNub Access Manager: http://www.pubnub.com/docs/javascript/overview/security.html#_access_manager_api_functions
escalating to @devendram
@stephenlb It does. I'm actually checking arguments.length in the beginning of my callback :-) It is one.
@herzi ah.. good! Do you have PAM enabled?
How do I enable PAM and what do I used it for? (I'm running a client for Mt.Gox's API, do I actually need to care about PAM?)
@herzi http://www.pubnub.com/docs/javascript/tutorial/access-manager.html - let us know if that works for you.
@herzi for the Public feeds, you do not need PAM: https://en.bitcoin.it/wiki/MtGox/API/Pubnub
@herzi for now, some errors may be undefined -- we are addressing this for the next release.
I wrote a node.js script which essentially does this:
Here is what I caught:
This is node.js v0.8.16 with pubnub@3.5.48.