forked from github/plane
fix: removed the str
This commit is contained in:
parent
cc98861d1e
commit
67643a8c1d
@ -209,7 +209,7 @@ class BaseAPIView(TimezoneMixin, APIView, BasePaginator):
|
|||||||
if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
print(e)
|
print(e)
|
||||||
capture_exception(e)
|
capture_exception(e)
|
||||||
return Response({"error": "Something went wrong please try again later", "e":str(e)}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
|
return Response({"error": "Something went wrong please try again later"}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
|
||||||
|
|
||||||
|
|
||||||
def dispatch(self, request, *args, **kwargs):
|
def dispatch(self, request, *args, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user