1
0
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:
Laurent Cozic 2021-05-14 12:09:20 +02:00
parent a31b402b9e
commit b99cb0248d

View File

@ -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();
}