added sys trace in generate csv

This commit is contained in:
karthikmurakonda 2023-10-11 06:22:58 +05:30
parent e09273d008
commit df0fe95dcc
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ def generateCSV(request, id, email, user_type):
status=status.HTTP_200_OK)
except:
logger.warning("Create csv: " + str(sys.exc_info()))
return Response({'action': "Create csv", 'message': "Something Went Wrong"},
return Response({'action': "Create csv", 'message': "Something Went Wrong"+str(sys.exc_info())},
status=status.HTTP_400_BAD_REQUEST)