mirror of
https://github.com/laurent22/joplin.git
synced 2025-02-13 19:42:36 +02:00
Cli: Fixes #4845: Fixed possible crash when trying to delete corrupted revision in revision service
This commit is contained in:
parent
a31b402b9e
commit
b99cb0248d
@ -264,6 +264,8 @@ export default class RevisionService extends BaseService {
|
|||||||
|
|
||||||
this.logger().info(`RevisionService::maintenance: Done in ${Date.now() - startTime}ms`);
|
this.logger().info(`RevisionService::maintenance: Done in ${Date.now() - startTime}ms`);
|
||||||
}
|
}
|
||||||
|
} catch (error) {
|
||||||
|
this.logger().error('RevisionService::maintenance:', error);
|
||||||
} finally {
|
} finally {
|
||||||
this.maintenanceCalls_.pop();
|
this.maintenanceCalls_.pop();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user