1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Cli,Desktop,Mobile: Resolves #9465: Log user actions (deletions) (#9585)

This commit is contained in:
Henry Heino
2024-03-09 02:33:05 -08:00
committed by GitHub
parent 3222b620b9
commit 75cb639ed2
36 changed files with 182 additions and 59 deletions

View File

@ -24,7 +24,7 @@ export default class MigrationService extends BaseService {
try {
await this.runScript(migration.number);
await Migration.delete(migration.id);
await Migration.delete(migration.id, { sourceDescription: 'MigrationService' });
} catch (error) {
this.logger().error(`Cannot run migration: ${migration.number}`, error);
break;