Notify on unsuccessful release

This commit is contained in:
2022-04-06 12:21:28 +01:00
parent 37820306e8
commit 74bcf4a5ab
2 changed files with 4 additions and 0 deletions

View File

@@ -41,3 +41,6 @@ class Notify(util.Base):
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}", title=code, tags="tx", priority="5")
def notify_release_unsuccessful(self, trade_id):
self.sendmsg(f"Release unsuccessful for {trade_id}", title="Unsuccessful release", tags="tx", priority="5")