mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-13 21:10:29 +00:00
Backup and restore track progress in job (#4503)
* Backup and restore track progress in job * Change to stage only updates and fix tests * Leave HA alone if it wasn't restored * skip check HA stage message when we don't check * Change to helper to get current job * Fix tests * Mark jobs as internal to skip notifying HA
This commit is contained in:
@@ -44,6 +44,10 @@ class JobNotFound(JobException):
|
||||
"""Exception for job not found."""
|
||||
|
||||
|
||||
class JobInvalidUpdate(JobException):
|
||||
"""Exception for invalid update to a job."""
|
||||
|
||||
|
||||
class JobGroupExecutionLimitExceeded(JobException):
|
||||
"""Exception when job group execution limit exceeded."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user