Ensure that client errors are passed to the callback.