From 6a620bd7bdc3e955290087a6846fc26a085f9d72 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 4 Apr 2022 19:16:13 +0100 Subject: [PATCH] Add meta information to TX error notifications --- handler/ux/notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/ux/notify.py b/handler/ux/notify.py index de5b894..0bbdde7 100644 --- a/handler/ux/notify.py +++ b/handler/ux/notify.py @@ -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")