Skip to content

Commit

Permalink
Throw error on init fail
Browse files Browse the repository at this point in the history
  • Loading branch information
svk31 committed Jul 10, 2018
1 parent ea434d7 commit 048452f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/chain/src/ChainStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ChainStore {
this.clearCache();
this.head_block_time_string = null;
return this.init(subscribe_to_new).catch(err => {
console.log("resetCache init error:", err);
throw err;
});
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitsharesjs",
"version": "1.7.11",
"version": "1.8.0",
"description": "Pure JavaScript Bitshares library for node.js and browsers.",
"browser": {
"ws": false,
Expand Down

0 comments on commit 048452f

Please sign in to comment.