diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/meetingtools/apps/room/tasks.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/meetingtools/apps/room/tasks.py b/src/meetingtools/apps/room/tasks.py index 6506cbf..bf8e837 100644 --- a/src/meetingtools/apps/room/tasks.py +++ b/src/meetingtools/apps/room/tasks.py @@ -209,6 +209,7 @@ def send_message(user,subject,message): except ObjectDoesNotExist: logging.info("User %s has no profile - email not sent" % user.username) except Exception,exc: + logging.error("Error while sending email: \n%s" % exc) send_message.retry(exc=exc) @periodic_task(run_every=crontab(hour="*", minute="*", day_of_week="*")) |