From 3d35ae32c80bdb42e9f862c84511555fce7949c1 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 5 Jan 2025 00:38:11 +0100 Subject: [PATCH] Throw error if upgrading settings fails --- src/ext/lib/Settings.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ext/lib/Settings.ts b/src/ext/lib/Settings.ts index 501b6c2..45804bd 100644 --- a/src/ext/lib/Settings.ts +++ b/src/ext/lib/Settings.ts @@ -206,6 +206,7 @@ class Settings { index++; } } catch (e) { + console.error('Failed to upgrade settings.', e); this.setActive(this.getDefaultSettings()); this.save(); }