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,
|
src,
|
||||||
dst,
|
dst,
|
||||||
)
|
)
|
||||||
except shutil.Error:
|
except OSError:
|
||||||
logger.error(
|
logger.error(
|
||||||
"Failed to move preview restart cache from %s to %s",
|
"Failed to move preview restart cache from %s to %s",
|
||||||
src,
|
src,
|
||||||
|
|||||||
Reference in New Issue
Block a user