Notify on unsuccessful release
This commit is contained in:
parent
37820306e8
commit
74bcf4a5ab
|
@ -204,6 +204,7 @@ class Transactions(util.Base):
|
|||
logmessage = f"Release funds unsuccessful: {rtrn['message']}"
|
||||
self.log.error(logmessage)
|
||||
self.irc.sendmsg(logmessage)
|
||||
self.ux.notify.notify_release_unsuccessful(trade_id)
|
||||
return
|
||||
|
||||
# Parse the escrow release response
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue