Skip to content

Commit

Permalink
Throw on error in catch block in eth relay (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmanjunath committed Oct 19, 2020
1 parent 0bf226b commit 896eea4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions identity-service/src/relay/ethTxRelay.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const sendEthTransaction = async (req, txProps, reqBodySHA) => {
)
} catch (e) {
req.logger.error('L1 txRelay - Error in relay', e)
throw e
} finally {
req.logger.info(`L1 txRelay - Unlocking ${ethRelayerWallets[ethWalletIndex].publicKey}, index=${ethWalletIndex}}`)
// Unlock wallet
Expand Down

0 comments on commit 896eea4

Please sign in to comment.