Преглед на файлове

[sql] Surface exception message on login failure

Note: we don't display still the json response which might have more info.
Romain Rigaux преди 5 години
родител
ревизия
8d8f319ae4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      desktop/core/src/desktop/js/apps/editor/components/sqlScratchpad/SqlScratchpad.vue

+ 1 - 1
desktop/core/src/desktop/js/apps/editor/components/sqlScratchpad/SqlScratchpad.vue

@@ -177,7 +177,7 @@
               password.value
             );
           } catch (err) {
-            errorMessage.value = 'Login failed!';
+            errorMessage.value = 'Login failed: ' + err;
             console.error(err);
             return;
           }