Skip to content
Snippets Groups Projects
Commit 80c3ce0c authored by Jono Wenger's avatar Jono Wenger
Browse files

Update throw package in wasm_exec.js

parent fc58a387
No related branches found
No related tags found
2 merge requests!60Revert "Fail a test to be sure it works",!5XX-4050 / SendE2e test
...@@ -510,7 +510,7 @@ ...@@ -510,7 +510,7 @@
}, },
// func throw(exception string, message string) // func throw(exception string, message string)
'gitlab.com/elixxir/xxdk-wasm/wasm.throw': (sp) => { 'gitlab.com/elixxir/xxdk-wasm/utils.throw': (sp) => {
const exception = loadString(sp + 8) const exception = loadString(sp + 8)
const message = loadString(sp + 24) const message = loadString(sp + 24)
throw globalThis[exception](message) throw globalThis[exception](message)
......
...@@ -503,7 +503,7 @@ ...@@ -503,7 +503,7 @@
}, },
// func throw(exception string, message string) // func throw(exception string, message string)
'gitlab.com/elixxir/xxdk-wasm/wasm.throw': (sp) => { 'gitlab.com/elixxir/xxdk-wasm/utils.throw': (sp) => {
const exception = loadString(sp + 8) const exception = loadString(sp + 8)
const message = loadString(sp + 24) const message = loadString(sp + 24)
throw globalThis[exception](message) throw globalThis[exception](message)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment