mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +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`);
|
||||
}
|
||||
} catch (error) {
|
||||
this.logger().error('RevisionService::maintenance:', error);
|
||||
} finally {
|
||||
this.maintenanceCalls_.pop();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user