From time to time I have an error after makeWebRequest(url, params, options,method(:onReceive))
function onReceive(ResponseCode, d, context_array)
{...}
Error: Not Enough Arguments Error
Details: Failed invoking <symbol>
Stack:
- onReceive()
I put array into :context
var options =
{:context => [2,3]}
- :context — (Lang.Object) —
A user-specific context object to be passed to the response callback. The callback will need to accept a third parameter if this value is populated.
Is [2,3] an object? Because from time to time system try to call onReceive with 2 argument - means :context=null. Should I make members/globals for it or it's a bug?