Don't pass `null` as a second argument to callbacks if there's a an error