Skip to content

Commit 048452f

Browse files
committed
Throw error on init fail
1 parent ea434d7 commit 048452f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/chain/src/ChainStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class ChainStore {
9797
this.clearCache();
9898
this.head_block_time_string = null;
9999
return this.init(subscribe_to_new).catch(err => {
100-
console.log("resetCache init error:", err);
100+
throw err;
101101
});
102102
}
103103

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bitsharesjs",
3-
"version": "1.7.11",
3+
"version": "1.8.0",
44
"description": "Pure JavaScript Bitshares library for node.js and browsers.",
55
"browser": {
66
"ws": false,

0 commit comments

Comments
 (0)