Skip to content

Commit

Permalink
raise http error during publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
DimLight1998 committed May 22, 2022
1 parent 98abf92 commit f5d2e7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def sync_server():
json=json.loads(data))
logger.info(
f"resp.code: {resp.status_code}, resp.content: {resp.content}")
resp.raise_for_status()


if __name__ == "__main__":
Expand Down

0 comments on commit f5d2e7c

Please sign in to comment.