diff --git a/src/Client.ts b/src/Client.ts index 78acc948..826c1cc5 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -124,6 +124,10 @@ export class Client { compress, }) + if (this.debug?.verbose && response.headers.get('x-request-id')) { + console.info('Request ID: ', response.headers.get('x-request-id')) + } + const contentType = response.headers.get('content-type') if (contentType && contentType.includes('json')) {