Use log error instead of raise

This commit is contained in:
Nick Mowen 2023-02-06 14:48:54 -07:00
parent 3d1f3505c9
commit 0ad6f68f1f

View File

@ -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 = [