Log warning rather than error if the named background detector doesn't exist to prevent not booting if detectors change
This commit is contained in:
parent
79c94c96ed
commit
873968877b
1 changed files with 1 additions and 1 deletions
|
|
@ -641,7 +641,7 @@ class BaseCamera(lt.Thing):
|
|||
def detector_name(self, name: str) -> None:
|
||||
"""Validate and set detector_name."""
|
||||
if name not in self.background_detectors:
|
||||
raise ValueError(f"{name} is not a valid background detector name")
|
||||
LOGGER.warning(f"{name} is not a valid background detector name.")
|
||||
self._detector_name = name
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue