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()