From 06709581df0aa0b5e95360a71a8d24b3a4e1c02f Mon Sep 17 00:00:00 2001 From: Calvin Watford Date: Mon, 22 Jul 2019 16:21:48 -0700 Subject: [PATCH] Add method name to apiCall debug --- packages/web-api/src/WebClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-api/src/WebClient.ts b/packages/web-api/src/WebClient.ts index e51fd90b3..544d38fe1 100644 --- a/packages/web-api/src/WebClient.ts +++ b/packages/web-api/src/WebClient.ts @@ -138,7 +138,7 @@ export class WebClient extends EventEmitter { * @param options options */ public async apiCall(method: string, options?: WebAPICallOptions): Promise { - this.logger.debug('apiCall() start'); + this.logger.debug(`apiCall('${method}') start`); if (typeof options === 'string' || typeof options === 'number' || typeof options === 'boolean') { throw new TypeError(`Expected an options argument but instead received a ${typeof options}`);