Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Fixes #259
Browse files Browse the repository at this point in the history
Immediately bubble up errors during Ganache calls
  • Loading branch information
ccowell committed Dec 13, 2018
1 parent 00425f3 commit 1837388
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 95 deletions.
2 changes: 1 addition & 1 deletion lib/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Provider.prototype.send = function(payload, callback) {
.join("\n < ")
);
}
callback(response.error ? err : null, response);
process.nextTick(() => callback(response.error ? err : null, response));
};

if (self.options.verbose) {
Expand Down
Loading

0 comments on commit 1837388

Please sign in to comment.