Fix Transactions error messages
This commit is contained in:
parent
712a144467
commit
d1252a1d42
|
@ -81,12 +81,12 @@ class Transactions(object):
|
||||||
# Try getting the trade by the reference ID given
|
# Try getting the trade by the reference ID given
|
||||||
stored_trade = self.get_ref(reference)
|
stored_trade = self.get_ref(reference)
|
||||||
if not stored_trade:
|
if not stored_trade:
|
||||||
self.log.info(f"No reference in DB for {reference}")
|
self.log.info(f"No reference in DB for {reference}", reference=reference)
|
||||||
self.irc.client.msg(self.irc.client.channel, f"No reference in DB for {reference}")
|
self.irc.client.msg(self.irc.client.channel, f"No reference in DB for {reference}")
|
||||||
# Try getting the trade by the reference, using it as a TXID
|
# Try getting the trade by the reference, using it as a TXID
|
||||||
ref2 = self.tx_to_ref(reference)
|
ref2 = self.tx_to_ref(reference)
|
||||||
if not ref2:
|
if not ref2:
|
||||||
self.log.info("No TXID in DB for {reference}")
|
self.log.info("No TXID in DB for {reference}", reference=reference)
|
||||||
self.irc.client.msg(self.irc.client.channel, f"No TXID in DB for {reference}")
|
self.irc.client.msg(self.irc.client.channel, f"No TXID in DB for {reference}")
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue