We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb2b277 commit 6d322b0Copy full SHA for 6d322b0
main.ts
@@ -74,6 +74,8 @@ export default class ObsidianSage extends Plugin {
74
.then(([ ws_url, session_id ]) => {
75
76
this.registerMarkdownCodeBlockProcessor("sage", (src, el, ctx) => {
77
+ if (this.ws == null) { console.warn("tried to parse sage math before server connection established."); return; }
78
+
79
const req_id = nanoid();
80
const payload = JSON.stringify({
81
header: {
0 commit comments