From a2f0e4c61f68757292909089c68ea457a38d63ec Mon Sep 17 00:00:00 2001 From: Alexis Date: Wed, 15 Sep 2021 09:20:04 +0930 Subject: [PATCH] fix: log key on check --- app/core/api-manager.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/core/api-manager.ts b/app/core/api-manager.ts index 7de1ef1b3..e7bb7dbc0 100644 --- a/app/core/api-manager.ts +++ b/app/core/api-manager.ts @@ -333,6 +333,8 @@ export class ApiManager extends EventEmitter { // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion, @typescript-eslint/non-nullable-type-assertion-style const apiKey = dotProp.get(file, 'remote.apikey')! as string; + log.debug('Checking API key "%s".', apiKey); + // Same key as current if (!force && (apiKey === this.getKey('my_servers')?.key)) { apiManagerLogger.debug('%s was updated but the API key didn\'t change', filePath);