Skip to content

Commit

Permalink
Fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkkul committed Aug 29, 2024
1 parent 7b43e89 commit 4084cc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weaviate/backup/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ async def __cancel_backup(
response = await self._connection.delete(
path=path, error_msg="Backup delete failed due to connection error."
)
if response is None:
typed_response = _decode_json_response_dict(response, "Backup restore status check")
if typed_response is None:
raise EmptyResponseException()

if response.status_code == 204:
Expand Down

0 comments on commit 4084cc7

Please sign in to comment.