Skip to content
Open
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions api/webhooks/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ def test(self, request: Request) -> Response:
},
status=status.HTTP_200_OK,
)
except requests.exceptions.RequestException as e:
except requests.exceptions.RequestException:
return Response(
{
"detail": "Could not connect to webhook URL",
"body": str(e),
"body": "Please check the URL, and ensure it is valid and accessible from the server.",
},
status=status.HTTP_400_BAD_REQUEST,
)
Loading