Add meta information to TX error notifications

master
Mark Veidemanis 2 years ago
parent d36bf2a048
commit 6a620bd7bd
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -40,4 +40,4 @@ class Notify(util.Base):
self.sendmsg(f"XMR: {amount_usd_xmr} | BTC: {amount_usd_btc}", title="Topup needed", tags="admin", priority="5")
def notify_tx_lookup_failed(self, currency, amount, reference, code, trade_id=None):
self.sendmsg(f"Unknown TX [{code}]: {amount}{currency} ({reference}) for {trade_id}")
self.sendmsg(f"Unknown TX [{code}]: {amount}{currency} ({reference}) for {trade_id}", title=code, tags="tx", priority="5")

Loading…
Cancel
Save