aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases/SettingUseCase.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-05-09 15:16:40 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-05-09 15:16:40 +0900
commitca3f03ea5ed46d4a6c4815bedd2469a69f3b1183 (patch)
treec03022cbdb4b21d3c6b50a195e4eb80dd45996a3 /src/background/usecases/SettingUseCase.ts
parentb912cd536c6edbb023c8d6e7614cc748ce83a48e (diff)
Improve an error message on invalid settings
Diffstat (limited to 'src/background/usecases/SettingUseCase.ts')
-rw-r--r--src/background/usecases/SettingUseCase.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background/usecases/SettingUseCase.ts b/src/background/usecases/SettingUseCase.ts
index 34c1f3a..07f0d7c 100644
--- a/src/background/usecases/SettingUseCase.ts
+++ b/src/background/usecases/SettingUseCase.ts
@@ -54,7 +54,7 @@ export default class SettingUseCase {
private showUnableToLoad(e: Error) {
console.error("unable to load settings", e);
- this.notifier.notifyInvalidSettings(() => {
+ this.notifier.notifyInvalidSettings(e, () => {
browser.runtime.openOptionsPage();
});
}