V1.30.9 trace exception

This commit is contained in:
Tibor Bossanyi (Freelancer) 2021-10-02 14:53:49 +02:00
parent 95ead3c9d7
commit 3330e6ea77

View File

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