Skip to content

Commit 091f60e

Browse files
committed
minor
1 parent 9fbead4 commit 091f60e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

services/static-webserver/client/source/class/osparc/wrapper/JsonFormatter.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ qx.Class.define("osparc.wrapper.JsonFormatter", {
6363
]);
6464

6565
dynLoader.addListenerOnce("ready", () => {
66+
if (typeof JSONFormatter === "undefined") {
67+
reject(new Error("JSONFormatter loaded but did not export to window.JSONFormatter"));
68+
return;
69+
}
6670
console.log(jsonFormatterPath + " loaded");
6771
this.setLibReady(true);
6872
resolve();

0 commit comments

Comments
 (0)