Tiny bug fix

We weren't passing in the right error callback.