mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-23 09:06:29 +00:00
Bugfix stack trace on remove (#842)
This commit is contained in:
parent
633a2e93bf
commit
73afced4dc
@ -102,7 +102,8 @@ async def remove_data(folder):
|
||||
_, error_msg = await proc.communicate()
|
||||
except OSError as err:
|
||||
error_msg = str(err)
|
||||
else:
|
||||
if proc.returncode == 0:
|
||||
return
|
||||
|
||||
if proc.returncode == 0:
|
||||
return
|
||||
_LOGGER.error("Can't remove Add-on Data: %s", error_msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user