diff options
author | Ian Coleman <ian@iancoleman.io> | 2020-01-08 17:31:14 +1100 |
---|---|---|
committer | Ian Coleman <ian@iancoleman.io> | 2020-01-08 17:31:14 +1100 |
commit | d07983bc1fa691821cc2580ce4490638cee4f630 (patch) | |
tree | 23d5bc620f9a1775828cd4a3404917029e835971 /libs | |
parent | 3aa7677ace4f318dfeec8f28469f5862b0599c4e (diff) | |
download | BIP39-d07983bc1fa691821cc2580ce4490638cee4f630.tar.gz BIP39-d07983bc1fa691821cc2580ce4490638cee4f630.tar.zst BIP39-d07983bc1fa691821cc2580ce4490638cee4f630.zip |
Catch nebulas error on some chrome configs
See #395
Diffstat (limited to 'libs')
-rw-r--r-- | libs/combined/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/combined/index.js b/libs/combined/index.js index 1de5b92..6760e0c 100644 --- a/libs/combined/index.js +++ b/libs/combined/index.js | |||
@@ -54,7 +54,13 @@ module.exports.kjua = require('kjua') | |||
54 | 54 | ||
55 | /* nebulas */ | 55 | /* nebulas */ |
56 | 56 | ||
57 | try { | ||
57 | module.exports.nebulas = require('nebulas') | 58 | module.exports.nebulas = require('nebulas') |
59 | } | ||
60 | catch (e) { | ||
61 | console.warn("Error loading nebulas library"); | ||
62 | console.warn(e); | ||
63 | }; | ||
58 | 64 | ||
59 | /* stellar-util */ | 65 | /* stellar-util */ |
60 | 66 | ||