fix: remove service name prefix from logged messages

This commit is contained in:
abdou6666
2025-01-27 12:36:50 +01:00
parent da1b1711f6
commit 32d57874cd
7 changed files with 50 additions and 120 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright © 2024 Hexastack. All rights reserved.
* Copyright © 2025 Hexastack. All rights reserved.
*
* Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms:
* 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission.
@@ -127,10 +127,10 @@ export class BotStatsService extends BaseService<BotStats> {
try {
await this.updateOne(insight.id, { value: insight.value + 1 });
} catch (err) {
this.logger.error('Stats hook : Unable to update insight', err);
this.logger.error('Unable to update insight', err);
}
} catch (err) {
this.logger.error('Stats hook : Unable to find or create insight', err);
this.logger.error('Unable to find or create insight', err);
}
}
}