From d1252a1d4232870e123a833c23d2f0789453dee1 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 29 Dec 2021 18:52:27 +0000 Subject: [PATCH] Fix Transactions error messages --- handler/transactions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handler/transactions.py b/handler/transactions.py index 55f2391..dd89b6a 100644 --- a/handler/transactions.py +++ b/handler/transactions.py @@ -81,12 +81,12 @@ class Transactions(object): # Try getting the trade by the reference ID given stored_trade = self.get_ref(reference) 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}") # Try getting the trade by the reference, using it as a TXID ref2 = self.tx_to_ref(reference) 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}") return else: