You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the two awaits of the olmPromise don't handle the error that it can throw when the olm file is not found (if we want to distribute a copy of hydrogen without olm, for example for legal reasons). We could probably await the olm promise once at the beginning of starting with login or an existing session and handle the error there, and if olm is not present, don't look for dehydrated devices, ... might need some checks if olm is present deeper down the stack as this scenario has been taken into account but not really tested.
The text was updated successfully, but these errors were encountered:
…hrowing and stopping all JavaScript
Related to #579
```
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'deriveBits')
at new Crypto
at new Platform
at mountHydrogen
```
Currently, the two awaits of the olmPromise don't handle the error that it can throw when the olm file is not found (if we want to distribute a copy of hydrogen without olm, for example for legal reasons). We could probably await the olm promise once at the beginning of starting with login or an existing session and handle the error there, and if olm is not present, don't look for dehydrated devices, ... might need some checks if olm is present deeper down the stack as this scenario has been taken into account but not really tested.
The text was updated successfully, but these errors were encountered: