From b99cb0248d9947d613e582105a29cbbc169ccb68 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Fri, 14 May 2021 12:09:20 +0200 Subject: [PATCH] Cli: Fixes #4845: Fixed possible crash when trying to delete corrupted revision in revision service --- packages/lib/services/RevisionService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/lib/services/RevisionService.ts b/packages/lib/services/RevisionService.ts index 8081227255..97181632db 100644 --- a/packages/lib/services/RevisionService.ts +++ b/packages/lib/services/RevisionService.ts @@ -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(); }