From bfc618a99e9fcd64b466c8b4c08d68e0cbb0eb91 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Sat, 25 Nov 2023 13:09:32 +0200 Subject: [PATCH] Fix OrderbookWatch.on_order_seen() exception debug messages --- src/jmdaemon/orderbookwatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jmdaemon/orderbookwatch.py b/src/jmdaemon/orderbookwatch.py index a53b4b521..796675945 100644 --- a/src/jmdaemon/orderbookwatch.py +++ b/src/jmdaemon/orderbookwatch.py @@ -116,9 +116,9 @@ def on_order_seen(self, counterparty, oid, ordertype, minsize, maxsize, (counterparty, oid, ordertype, minsize, maxsize, txfee, str(Decimal(cjfee)))) # any parseable Decimal is a valid cjfee except InvalidOperation: - log.debug("Got invalid cjfee: " + cjfee + " from " + counterparty) + log.debug("Got invalid cjfee: " + str(cjfee) + " from " + counterparty) except Exception as e: - log.debug("Error parsing order " + oid + " from " + counterparty) + log.debug("Error parsing order " + str(oid) + " from " + counterparty) log.debug("Exception was: " + repr(e)) finally: self.dblock.release()