Removed response.statusCode from makePromise.onError