1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

chore: Add debug information to slack addon (#4379)

Logs to help us debug the addon
This commit is contained in:
Gastón Fournier 2023-08-02 10:33:44 +00:00 committed by GitHub
parent 20b1559329
commit 55c785c2ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,6 +70,9 @@ export default class SlackAppAddon extends Addon {
);
return;
}
this.logger.debug(
`Found candidate channels: ${JSON.stringify(eventChannels)}.`,
);
if (!this.slackClient || this.accessToken !== accessToken) {
const client = new WebClient(accessToken);