From 67643a8c1dd8f95095eacdc1ed6cb680394745b8 Mon Sep 17 00:00:00 2001 From: NarayanBavisetti Date: Thu, 16 Nov 2023 18:22:35 +0530 Subject: [PATCH] fix: removed the str --- apiserver/plane/api/views/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/api/views/base.py b/apiserver/plane/api/views/base.py index 72c872160..71f9c1842 100644 --- a/apiserver/plane/api/views/base.py +++ b/apiserver/plane/api/views/base.py @@ -209,7 +209,7 @@ class BaseAPIView(TimezoneMixin, APIView, BasePaginator): if settings.DEBUG: print(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):