aboutsummaryrefslogtreecommitdiff
path: root/javascript/README.md
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2020-05-16 17:10:18 +0100
committerMatthew Hodgson <matthew@matrix.org>2020-05-16 17:10:18 +0100
commitfdf25eb3ba31d4c57d50f70a1dacae6fc1c00959 (patch)
tree8e7581e4bd08d9083326fcb827d85ea50be5b43b /javascript/README.md
parent83bf351a34a65edb7ab9eaf4251b197cbeedb159 (diff)
spell out error msg if you don't Olm.init
Diffstat (limited to 'javascript/README.md')
-rw-r--r--javascript/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/javascript/README.md b/javascript/README.md
index d2f1d72..bdf0224 100644
--- a/javascript/README.md
+++ b/javascript/README.md
@@ -2,7 +2,8 @@ Olm
===
Note: before using any of the olm functions, you must call `Olm.init()`, and
-wait for the promise to resolve.
+wait for the promise to resolve, otherwise you will get errors like:
+`Uncaught TypeError: Olm.Account is not a constructor`
Example: