Skip to content

Add error handling to logo publishing function for improved reliability#651

Merged
lalalaurentiu merged 1 commit intopeviitor-ro:mainfrom
lalalaurentiu:main
Sep 22, 2025
Merged

Add error handling to logo publishing function for improved reliability#651
lalalaurentiu merged 1 commit intopeviitor-ro:mainfrom
lalalaurentiu:main

Conversation

@lalalaurentiu
Copy link
Collaborator

This pull request improves the robustness of the publish_logo function in utils.py by adding error handling for network or API call failures.

Error handling improvements:

  • Added a try-except block around the requests.post call in publish_logo to catch and print exceptions if the logo publishing fails, making the function more resilient to errors.

@lalalaurentiu lalalaurentiu merged commit b5a6322 into peviitor-ro:main Sep 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant