Skip to content

Commit

Permalink
Add a log when loading notifications channels
Browse files Browse the repository at this point in the history
  • Loading branch information
srosset81 committed Oct 25, 2024
1 parent a360fb8 commit 6584ccd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ module.exports = {
async loadChannelsFromDb({ removeOldChannels }) {
const accounts = await this.broker.call('auth.account.find');
for (const { webId } of accounts) {
this.logger.info(`Loading notification channels of ${webId}...`);
try {
const container = await this.actions.list({ webId });
for (const channel of arrayOf(container['ldp:contains'])) {
Expand Down

0 comments on commit 6584ccd

Please sign in to comment.