Переход на quasar

This commit is contained in:
Book Pauk
2020-02-26 14:32:47 +07:00
parent 0bef307d77
commit 78dfc9cb1c
3 changed files with 4 additions and 6 deletions

View File

@@ -15,6 +15,8 @@ class Misc {
try {
await wsc.open();
const config = await wsc.message(wsc.send(Object.assign({action: 'get-config'}, query)));
if (config.error)
throw new Error(config.error);
return config;
} catch (e) {
console.error(e);