Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error handling for missing image files in _convert_images #6128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

noahc1510
Copy link

What does this PR do?

Improve error handling for missing image files in _convert_images

  • Refactor path handling logic to enhance readability.
  • Log a warning when image files are not found in specified directory, maintaining the original path.

Before submitting

- Refactor path handling logic to enhance readability.
- Log a warning when image files are not found in specified directory, maintaining the original path.
@noahc1510
Copy link
Author

When I provided an incorrect image_dir, it was unexpectedly ignored without any warning. I hope this PR can be merged.

Thanks.

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