From 63ea3369d352777bc345f357b1338231943e0f01 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 12 Dec 2022 10:20:27 +0200 Subject: [PATCH] fix: do not hide Exception message --- lnbits/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/settings.py b/lnbits/settings.py index bf16bbfd3..23eb63129 100644 --- a/lnbits/settings.py +++ b/lnbits/settings.py @@ -293,9 +293,9 @@ def send_admin_user_to_saas(): json=payload, ) logger.success("sent admin user to saas application") - except: + except Exception as e: logger.error( - f"error sending admin user to saas: {settings.lnbits_saas_callback}" + f"error sending admin user to saas: {settings.lnbits_saas_callback}. Error: {str(e)}" )