fix(core): update
This commit is contained in:
parent
b2219e89f4
commit
5aecb43923
@ -28,8 +28,11 @@ export class TypedRequest<T extends plugins.typedRequestInterfaces.ITypedRequest
|
||||
return null;
|
||||
}
|
||||
if (responseBody.retry) {
|
||||
console.log('server requested retry');
|
||||
};
|
||||
console.log(`server requested retry for the following reason: ${responseBody.retry.reason}`);
|
||||
await plugins.smartdelay.delayFor(responseBody.retry.waitForMs);
|
||||
// tslint:disable-next-line: no-return-await
|
||||
return await this.fire(fireArg);
|
||||
}
|
||||
return responseBody.response;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user