mirror of
https://git.wownero.com/lza_menace/wowstash.git
synced 2024-08-15 00:33:15 +00:00
fix bug where tx_fail string was too long
This commit is contained in:
parent
1a48e7db77
commit
5a3bf57a32
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ def send():
|
|||
msg = tx['message'].capitalize()
|
||||
msg_lower = tx['message'].replace(' ', '_').lower()
|
||||
flash(f'There was a problem sending the transaction: {msg}')
|
||||
capture_event(user.id, f'tx_fail_{msg_lower}')
|
||||
capture_event(user.id, f'tx_fail_{msg_lower[0:50]}')
|
||||
else:
|
||||
flash('Successfully sent transfer.')
|
||||
capture_event(user.id, 'tx_success')
|
||||
|
|
Loading…
Reference in a new issue