uruwhy commented on code in PR #3246:
URL: https://github.com/apache/caldera/pull/3246#discussion_r3281677685
##########
app/api/v2/handlers/payload_api.py:
##########
@@ -136,7 +136,7 @@ async def delete_payloads(self, request: web.Request):
response = web.HTTPNotFound()
except PermissionError:
response = web.HTTPForbidden(reason="Permission denied.")
- return response
+ raise response
Review Comment:
```suggestion
return response
```
revert for now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]