Skip to content

Commit 9da1c92

Browse files
committed
use log
1 parent 95cada3 commit 9da1c92

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/App.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import Configuration, {
2626
PageId as ConfigurationPageId,
2727
} from "@/components/configuration/Configuration.vue";
2828
import OnboardingScreen from "./components/OnboardingScreen.vue";
29-
import { getData, notify } from "@beekeeperstudio/plugin";
29+
import { getData, log } from "@beekeeperstudio/plugin";
3030
import { Dialog } from "primevue";
3131
3232
type Page = "starting" | "chat-interface";
@@ -72,11 +72,7 @@ export default {
7272
} catch (e) {
7373
this.showConfiguration = true;
7474
this.error = e;
75-
notify("pluginError", {
76-
message: `Failed to initialize: ${e?.message || e}`,
77-
error: e?.name,
78-
stack: e?.stack,
79-
});
75+
log.error(e);
8076
} finally {
8177
clearTimeout(loadingTimer);
8278
}

0 commit comments

Comments
 (0)