},
hooks: {
beforeRetry: [
- this._onRetry,
+ this._onRetry.bind(this),
],
},
});
...( issuerUrlObj && { iss: issuerUrlObj.href }),
},
};
- return await this.got(ticketConfig);
+ const result = await this.got(ticketConfig);
+ this.logger.debug(_scope, 'success', { ...common.gotResponseLogData(result) });
+ return result;
} catch (e) {
this.logger.error(_scope, 'ticket delivery request failed', { error: e, url: ticketEndpointUrlObj.href });
throw e;