mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02:00
chore: Add debug information to slack addon (#4379)
Logs to help us debug the addon
This commit is contained in:
parent
20b1559329
commit
55c785c2ff
@ -70,6 +70,9 @@ export default class SlackAppAddon extends Addon {
|
|||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.logger.debug(
|
||||||
|
`Found candidate channels: ${JSON.stringify(eventChannels)}.`,
|
||||||
|
);
|
||||||
|
|
||||||
if (!this.slackClient || this.accessToken !== accessToken) {
|
if (!this.slackClient || this.accessToken !== accessToken) {
|
||||||
const client = new WebClient(accessToken);
|
const client = new WebClient(accessToken);
|
||||||
|
Loading…
Reference in New Issue
Block a user