Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/api/plane/api/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def dispatch(self, request, *args, **kwargs):
return response
except Exception as exc:
response = self.handle_exception(exc)
return exc
return response

def finalize_response(self, request, response, *args, **kwargs):
# Call super to get the default response
Expand Down
4 changes: 2 additions & 2 deletions apps/api/plane/app/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def dispatch(self, request, *args, **kwargs):
return response
except Exception as exc:
response = self.handle_exception(exc)
return exc
return response

@property
def workspace_slug(self):
Expand Down Expand Up @@ -215,7 +215,7 @@ def dispatch(self, request, *args, **kwargs):

except Exception as exc:
response = self.handle_exception(exc)
return exc
return response

@property
def workspace_slug(self):
Expand Down
2 changes: 1 addition & 1 deletion apps/api/plane/license/api/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def dispatch(self, request, *args, **kwargs):

except Exception as exc:
response = self.handle_exception(exc)
return exc
return response

@property
def fields(self):
Expand Down
4 changes: 2 additions & 2 deletions apps/api/plane/space/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def dispatch(self, request, *args, **kwargs):
return response
except Exception as exc:
response = self.handle_exception(exc)
return exc
return response

@property
def workspace_slug(self):
Expand Down Expand Up @@ -197,7 +197,7 @@ def dispatch(self, request, *args, **kwargs):

except Exception as exc:
response = self.handle_exception(exc)
return exc
return response

@property
def workspace_slug(self):
Expand Down