From d91b8697591c2e44d78712c264b04def058429c1 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Wed, 3 Jan 2024 21:55:48 +0200 Subject: [PATCH] Add debug msg --- basicswap/ui/page_encryption.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/basicswap/ui/page_encryption.py b/basicswap/ui/page_encryption.py index 581430b..ae2d8c0 100644 --- a/basicswap/ui/page_encryption.py +++ b/basicswap/ui/page_encryption.py @@ -61,6 +61,8 @@ def page_unlock(self, url_split, post_string): self.end_headers() return bytes() except Exception as e: + if swap_client.debug is True: + swap_client.log.error(str(e)) err_messages.append(str(e)) template = server.env.get_template('unlock.html')