From 3330e6ea77304658234741b1b177b849b1f288e1 Mon Sep 17 00:00:00 2001 From: "Tibor Bossanyi (Freelancer)" Date: Sat, 2 Oct 2021 14:53:49 +0200 Subject: [PATCH] V1.30.9 trace exception --- aitrainer_backoffice/controlling/automation/notification.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aitrainer_backoffice/controlling/automation/notification.py b/aitrainer_backoffice/controlling/automation/notification.py index 56030fa..8a2fa8b 100644 --- a/aitrainer_backoffice/controlling/automation/notification.py +++ b/aitrainer_backoffice/controlling/automation/notification.py @@ -3,6 +3,7 @@ from .notification_hook import NotificationHook from ..models import notification as notif from ..models.notification import NotificationHistory from .fcm import FCM +import traceback class Notification: fcm = FCM() @@ -34,6 +35,7 @@ class Notification: except Exception as ex: print(f'Error in execution of the notification {notification.internal_name}: {ex}') + traceback.print_exc() def insert_history(self, notification, customer, rc): history = NotificationHistory()