Skip to content

Add robust error handling and logging to print endpoint#8

Open
AlexNly wants to merge 1 commit into
mainfrom
codex/wrap-print_image-in-try/except-and-log-errors
Open

Add robust error handling and logging to print endpoint#8
AlexNly wants to merge 1 commit into
mainfrom
codex/wrap-print_image-in-try/except-and-log-errors

Conversation

@AlexNly

@AlexNly AlexNly commented Sep 2, 2025

Copy link
Copy Markdown
Owner

Summary

  • wrap print_image processing in try/except blocks
  • return informative HTTP errors for image and printer failures
  • log failures using Python's logging module

Testing

  • pip install -r requirements.txt
  • pytest

https://chatgpt.com/codex/tasks/task_b_68b6bde81dd08332aa749bd5d0e594af

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant