diff --git a/example/index.html b/example/index.html
index f9d50bb..7c88420 100644
--- a/example/index.html
+++ b/example/index.html
@@ -28,30 +28,32 @@
{{ error }}
-
+
+
-
+
- Encrypt plaintext...
- Decrypt ciphertext...
+ Encrypt plaintext...
+ Decrypt ciphertext...
-
+
+
@@ -123,7 +125,9 @@
WebAssembly.instantiateStreaming(fetch("openssl.wasm"), go.importObject)
.then(result => go.run(result.instance))
- .catch(err => console.error(err))
+ .catch(err => {
+ this.error = err
+ })
},
},