mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-23 13:57:11 +03:00
catch all OSErrors when moving the preview restart cache
This commit is contained in:
@@ -379,7 +379,7 @@ def move_preview_frames(loc: str) -> None:
|
||||
src,
|
||||
dst,
|
||||
)
|
||||
except shutil.Error:
|
||||
except OSError:
|
||||
logger.error(
|
||||
"Failed to move preview restart cache from %s to %s",
|
||||
src,
|
||||
|
||||
Reference in New Issue
Block a user