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

I can incorporate proper error Handling in load_image function of view.py file within the api folder #92

Open
Rohit-Sharma-RS opened this issue Oct 10, 2024 · 4 comments

Comments

@Rohit-Sharma-RS
Copy link

The load_image function can be modified to include detailed error handling for different types of exceptions that may occur when fetching images from a URL and replace it with a default image in case of errors for an even more seamless experience.

@Rohit-Sharma-RS
Copy link
Author

Hi @kittinan,
I am currently working on this and would appreciate it if you could assign me this issue along with the hacktoberfest tag...

@philosolog
Copy link

I noticed the image fails to load properly on a Spotify song.

image

@kittinan
Copy link
Owner

kittinan commented Nov 3, 2024

I noticed the image fails to load properly on a Spotify song.

image

@philosolog I will investigate this error

@kittinan
Copy link
Owner

kittinan commented Nov 3, 2024

@philosolog done! the problem is artist name has HTML special character <.

Screenshot at 2024-11-03 14-12-43

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

No branches or pull requests

3 participants