Skip to content

Handle exception from pillow in camera proxy#16190

Merged
balloob merged 1 commit intohome-assistant:devfrom
PhracturedBlue:proxy1
Aug 26, 2018
Merged

Handle exception from pillow in camera proxy#16190
balloob merged 1 commit intohome-assistant:devfrom
PhracturedBlue:proxy1

Conversation

@PhracturedBlue
Copy link
Copy Markdown
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
Copy Markdown
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.

3 participants