You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One problem is that the way we tell how many arguments were passed is by looking at how many arguments the function takes, which as I understand it is determined by the way the function is defined. In this case WError only nominally takes one argument here. In terms of doing better: the first question would be to figure out if the other arguments are actually there on the stack, or if they're stored elsewhere when there's a varargs situation like this. Relatedly, we need to determine if there is a way to tell how many arguments were actually passed.
Repro (sorry this is from running in an imgapi zone I have handy -- a smartos zone running node v4.6.1 with the verror module already installed):
And from the core for that:
The text was updated successfully, but these errors were encountered: