From c66d1820aab91b7dff9a25619d598499fe945d89 Mon Sep 17 00:00:00 2001 From: Logan Jones Date: Tue, 8 Apr 2025 18:20:39 -0500 Subject: [PATCH] better error messages for library-picker --- .../src/components/config/library-picker/library-picker.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/config/library-picker/library-picker.ts b/frontend/src/components/config/library-picker/library-picker.ts index c0b396b..0a4b18e 100644 --- a/frontend/src/components/config/library-picker/library-picker.ts +++ b/frontend/src/components/config/library-picker/library-picker.ts @@ -24,7 +24,7 @@ export class LibraryPicker extends LitElement { then((result) => { if (result.length === 0) { return; } this.currentLibraryDirectoryText = result; - }).catch((err) => { console.error(err) }) + }).catch((err) => { console.error("error with getting current library directory: " + err) }) } onSelectLibraryClick() { @@ -34,11 +34,11 @@ export class LibraryPicker extends LitElement { SetDir(result).then(() => { this.currentLibraryDirectoryText = result; }).catch((err: string) => { - console.error("There is an error with saving selected directory: " + err); + console.error("error with saving selected directory: " + err); }); }) .catch((err) => { - console.error("There is an error with directory picker: " + err); + console.error("error with directory picker: " + err); }); } catch (err) {