From d10d6e21b621a2ecfd13e276af3dc9b04fe7d6e7 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:06:03 +0100 Subject: [PATCH] fix: error logging --- .../doctype/simple_subscription/simple_subscription.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_subscription/simple_subscription/doctype/simple_subscription/simple_subscription.py b/simple_subscription/simple_subscription/doctype/simple_subscription/simple_subscription.py index 1210615..da04c44 100644 --- a/simple_subscription/simple_subscription/doctype/simple_subscription/simple_subscription.py +++ b/simple_subscription/simple_subscription/doctype/simple_subscription/simple_subscription.py @@ -102,7 +102,7 @@ def process_simple_subscriptions() -> None: try: create_current_invoice(subscription_name, silent=True) except frappe.ValidationError: - frappe.log_error(frappe.get_traceback()) + frappe.log_error(title=_("Failed to create subscription invoice")) continue