From e09273d00847fcfb2dbd36d3a0636b35d2117206 Mon Sep 17 00:00:00 2001 From: karthikmurakonda Date: Wed, 11 Oct 2023 05:54:21 +0530 Subject: [PATCH] print systrace --- CDC_Backend/APIs/companyViews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CDC_Backend/APIs/companyViews.py b/CDC_Backend/APIs/companyViews.py index cd73ce6..4b62728 100644 --- a/CDC_Backend/APIs/companyViews.py +++ b/CDC_Backend/APIs/companyViews.py @@ -298,7 +298,7 @@ def verifyEmail(request): status=status.HTTP_400_BAD_REQUEST) except: logger.warning("Verify Email: " + str(sys.exc_info())) - return Response({'action': "Verify Email", 'message': "Something went wrong"}, + return Response({'action': "Verify Email", 'message': "Something went wrong\n"+str(sys.exc_info())}, status=status.HTTP_400_BAD_REQUEST)