diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-06 11:47:29 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-06 11:47:29 +0800 |
commit | 6bea3ac157b2cb8c31901dbfccf71b0723cf39a0 (patch) | |
tree | e407de79008d78ed749f3d11d22df5353ee30539 /packages/subproviders/src | |
parent | e4d42a079c20343f1b539df07e7d70179bf80772 (diff) | |
download | dexon-sol-tools-6bea3ac157b2cb8c31901dbfccf71b0723cf39a0.tar dexon-sol-tools-6bea3ac157b2cb8c31901dbfccf71b0723cf39a0.tar.gz dexon-sol-tools-6bea3ac157b2cb8c31901dbfccf71b0723cf39a0.tar.bz2 dexon-sol-tools-6bea3ac157b2cb8c31901dbfccf71b0723cf39a0.tar.lz dexon-sol-tools-6bea3ac157b2cb8c31901dbfccf71b0723cf39a0.tar.xz dexon-sol-tools-6bea3ac157b2cb8c31901dbfccf71b0723cf39a0.tar.zst dexon-sol-tools-6bea3ac157b2cb8c31901dbfccf71b0723cf39a0.zip |
Return actual error thrown
Diffstat (limited to 'packages/subproviders/src')
-rw-r--r-- | packages/subproviders/src/subproviders/redundant_rpc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/subproviders/src/subproviders/redundant_rpc.ts b/packages/subproviders/src/subproviders/redundant_rpc.ts index 8ae195a87..6f8d0829b 100644 --- a/packages/subproviders/src/subproviders/redundant_rpc.ts +++ b/packages/subproviders/src/subproviders/redundant_rpc.ts @@ -40,7 +40,7 @@ export class RedundantRPCSubprovider extends Subprovider { const data = await RedundantRPCSubprovider.firstSuccessAsync(rpcsCopy, payload, next); end(null, data); } catch (err) { - end(new Error('testing')); + end(err); } } |