From 9e135c857378385d2ae379136765edf09c05940d Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Mon, 11 Dec 2023 09:51:34 +0200 Subject: [PATCH 1/2] Add exception for database is locked error --- src/error-manager/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/error-manager/index.js b/src/error-manager/index.js index 38258707..c5ce975f 100644 --- a/src/error-manager/index.js +++ b/src/error-manager/index.js @@ -83,7 +83,8 @@ const _isLogSkipped = (log) => { str.includes('ERR_INTERNET_DISCONNECTED') || // Skip error when can't get code signature on mac str.includes('Could not get code signature') || - str.includes('ERR_BFX_API_SERVER_IS_NOT_AVAILABLE') + str.includes('ERR_BFX_API_SERVER_IS_NOT_AVAILABLE') || + str.includes('database is locked') ) ) } From 9ac18f5375d460ce0e578dd96bb5860213298d4c Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Mon, 11 Dec 2023 10:02:09 +0200 Subject: [PATCH 2/2] Add exception for network timeout error --- src/error-manager/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/error-manager/index.js b/src/error-manager/index.js index c5ce975f..f8479831 100644 --- a/src/error-manager/index.js +++ b/src/error-manager/index.js @@ -84,7 +84,8 @@ const _isLogSkipped = (log) => { // Skip error when can't get code signature on mac str.includes('Could not get code signature') || str.includes('ERR_BFX_API_SERVER_IS_NOT_AVAILABLE') || - str.includes('database is locked') + str.includes('database is locked') || + str.includes('network timeout') ) ) }