mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-04 10:15:22 +03:00
Use log error instead of raise
This commit is contained in:
parent
3d1f3505c9
commit
0ad6f68f1f
@ -41,9 +41,7 @@ def get_gpu_device() -> str:
|
||||
GPU_DEVICE_PARAM = f"/dev/dri/{device}"
|
||||
return GPU_DEVICE_PARAM
|
||||
|
||||
raise ValueError(
|
||||
"Hardware acceleration was requested but no suitable GPU was found."
|
||||
)
|
||||
logger.error("Hardware acceleration was requested but no suitable GPU was found.")
|
||||
|
||||
|
||||
_user_agent_args = [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user