aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryce <brycedneal@gmail.com>2018-06-23 05:01:14 +0800
committerBryce <brycedneal@gmail.com>2018-06-23 05:01:14 +0800
commitd315133d3458534c40bb35c4df4edf48b8c21d96 (patch)
tree1ce72764343f1a450b5fe78897239f23f72bd218
parent82d59dbea80c351a5ac8de34debd182775eb870e (diff)
downloaddexon-sol-tools-d315133d3458534c40bb35c4df4edf48b8c21d96.tar
dexon-sol-tools-d315133d3458534c40bb35c4df4edf48b8c21d96.tar.gz
dexon-sol-tools-d315133d3458534c40bb35c4df4edf48b8c21d96.tar.bz2
dexon-sol-tools-d315133d3458534c40bb35c4df4edf48b8c21d96.tar.lz
dexon-sol-tools-d315133d3458534c40bb35c4df4edf48b8c21d96.tar.xz
dexon-sol-tools-d315133d3458534c40bb35c4df4edf48b8c21d96.tar.zst
dexon-sol-tools-d315133d3458534c40bb35c4df4edf48b8c21d96.zip
Re-throw if not INVALID_ARGUMENT
-rw-r--r--packages/order-watcher/src/order_watcher/order_watcher.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/order-watcher/src/order_watcher/order_watcher.ts b/packages/order-watcher/src/order_watcher/order_watcher.ts
index 5834cf9b6..bf31c9c4d 100644
--- a/packages/order-watcher/src/order_watcher/order_watcher.ts
+++ b/packages/order-watcher/src/order_watcher/order_watcher.ts
@@ -249,6 +249,7 @@ export class OrderWatcher {
if (error.code === ethers.errors.INVALID_ARGUMENT) {
return; // noop
}
+ throw error;
}
const isLogDecoded = !_.isUndefined(((maybeDecodedLog as any) as LogWithDecodedArgs<ContractEventArgs>).event);
if (!isLogDecoded) {