What do you mean? The return is so that it stops running the function, the thing that triggers the error is calling the callback.