diff --git a/wasm_exec.js b/wasm_exec.js
index 3cd348796324572c0795072b5ff0ad7c8fe8575b..eefe5a5a748b48705f5c2f4fe83de43e8b3128bb 100644
--- a/wasm_exec.js
+++ b/wasm_exec.js
@@ -460,16 +460,15 @@
 					},
                                         // func Throw(exception, message unsafe.Pointer)
                                         "gitlab.com/elixxir/wasm-utils/exception.throw": (sp) => {
-                                                const exception = loadString(sp + 8)
-                                                const message = loadString(sp + 24)
-                                                throw globalThis[exception](message)
+                                                const exception = loadString(sp + 8);
+                                                const message = loadString(sp + 24);
+                                                throw new Error(exception + ": " + message);
                                         },
                                         'runtime.Throw': (sp) => {
-                                                const exception = loadString(sp + 8)
-                                                const message = loadString(sp + 24)
-                                                throw globalThis[exception](message)
+                                                const exception = loadString(sp + 8);
+                                                const message = loadString(sp + 24);
+                                                throw new Error(exception + ": " + message);
                                         },
-
 				}
 			};
                         this.importObject.go = this.importObject.gojs;