forked from home-assistant/core
Log upload BackupAgentError (#134865)
* Log out BackupAgentError * Update homeassistant/components/backup/manager.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/backup/manager.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Format --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
committed by
Franck Nijhof
parent
29989e9034
commit
58805f721c
@@ -435,6 +435,7 @@ class BackupManager:
|
|||||||
# no point in continuing
|
# no point in continuing
|
||||||
raise BackupManagerError(str(result)) from result
|
raise BackupManagerError(str(result)) from result
|
||||||
if isinstance(result, BackupAgentError):
|
if isinstance(result, BackupAgentError):
|
||||||
|
LOGGER.error("Error uploading to %s: %s", agent_ids[idx], result)
|
||||||
agent_errors[agent_ids[idx]] = result
|
agent_errors[agent_ids[idx]] = result
|
||||||
continue
|
continue
|
||||||
if isinstance(result, Exception):
|
if isinstance(result, Exception):
|
||||||
|
Reference in New Issue
Block a user