added precheck warning

This commit is contained in:
karthik murakonda 2022-04-29 22:01:52 +05:30
parent 4f968c0a88
commit 12407bd84e
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ def precheck(required_data=None):
return view_func(request, *args, **kwargs)
except:
logger.warning("Precheck: " + str(sys.exc_info()))
return Response({'action': "Pre check", 'message': "Something went wrong"},
status=status.HTTP_400_BAD_REQUEST)