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

Handle exception from pillow in camera proxy #16190

Merged
merged 1 commit into from Aug 26, 2018

Conversation

PhracturedBlue
Copy link
Contributor

Description:

This fixes an issue where the camera returns an invalid image (404 for example) which gets passed to the camera proxy. When loading the image into Pillow, it generates an exception which wasn't being handled.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

@ghost ghost added the in progress label Aug 25, 2018
@balloob balloob added this to the 0.77 milestone Aug 26, 2018
@balloob
Copy link
Member

balloob commented Aug 26, 2018

Thanks!

@balloob balloob merged commit 499bb3f into home-assistant:dev Aug 26, 2018
@ghost ghost removed the in progress label Aug 26, 2018
balloob pushed a commit that referenced this pull request Aug 26, 2018
@balloob balloob mentioned this pull request Aug 29, 2018
girlpunk pushed a commit to girlpunk/home-assistant that referenced this pull request Sep 4, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Dec 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants