add additional shutdown logging

This commit is contained in:
Hazelnoot 2025-06-25 21:39:09 -04:00
parent c79d66d48b
commit 4e609478f8
5 changed files with 20 additions and 0 deletions

View file

@ -75,6 +75,7 @@ export class ChartManagementService implements OnApplicationShutdown {
public async dispose(): Promise<void> {
clearInterval(this.saveIntervalId);
if (process.env.NODE_ENV !== 'test') {
this.logger.info('Saving charts for shutdown...');
for (const chart of this.charts) {
await chart.save();
}