diff --git a/breathecode/mentorship/views.py b/breathecode/mentorship/views.py index ddb98a037..663040152 100644 --- a/breathecode/mentorship/views.py +++ b/breathecode/mentorship/views.py @@ -4,6 +4,7 @@ import os import re import time +import traceback import timeago from django.contrib import messages @@ -518,6 +519,7 @@ def __call__(self): try: sessions = self.get_pending_sessions_or_create(mentor, service, mentee) except Exception as e: + traceback.print_exc() return render_message(self.request, str(e), status=400, academy=mentor.academy) if not is_token_of_mentee and sessions.count() > 0 and str(sessions.first().id) != self.query_params["session"]: