Re-throw if not INVALID_ARGUMENT

This commit is contained in:
Bryce
2018-06-22 14:01:14 -07:00
parent 82d59dbea8
commit d315133d34

View File

@@ -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) {