thesis / acre

Bitcoin Liquid Staking
https://acre.fi
GNU General Public License v3.0
7 stars 2 forks source link

Remove error from logs when user closes the withdrawal modal during transaction assembly #879

Open michalinacienciala opened 2 weeks ago

michalinacienciala commented 2 weeks ago

We are throwing an error in the logs when user closes the withdrawal modal during transaction assembly.

Pre-requisite: an account with withdrawable funds Steps:

  1. Open the withdrawal form
  2. Provide amount
  3. Press Withdraw
  4. Click X on the Building transaction data modal

Result: Window closed, but error thrown in the logs (and visible in Sentry):

Uncaught (n promise) Error: Withdrawal cancelled`

image image

As discussed on Discord, we should check if we can safely suppress the error

linear[bot] commented 2 weeks ago

AENG-29 Remove error from logs when user closes the withdrawal modal during transaction assembly