mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-09-18 11:24:34 -04:00
rethrow unknown errors
This commit is contained in:
parent
14272e8305
commit
4a4cfc5d48
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue