mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2024-10-01 08:25:37 -04:00
rethrow unknown errors
This commit is contained in:
parent
14272e8305
commit
4a4cfc5d48
@ -312,8 +312,10 @@ class Transaction {
|
||||
|
||||
if (this._hasError(e.message, sameTxErrors)) {
|
||||
console.log('Same transaction is already in mempool, skipping submit')
|
||||
// do nothing
|
||||
return // do nothing
|
||||
}
|
||||
|
||||
throw new Error(`Send error: ${e.message}`)
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user