Misc logging cleanup

This commit is contained in:
Brett Williams
2024-08-05 10:57:56 -05:00
parent 4df41a2079
commit 90d5e9b7af
4 changed files with 31 additions and 18 deletions

View File

@@ -132,8 +132,8 @@ class FFMPEGDownloader(EngineDownloader):
system_os = system_os or current_system_os()
cpu = cpu or current_system_cpu()
return cls.all_versions(system_os, cpu)[0]
except (IndexError, requests.exceptions.RequestException):
logger.error(f"Cannot get most recent version of ffmpeg")
except (IndexError, requests.exceptions.RequestException) as e:
logger.error(f"Cannot get most recent version of ffmpeg: {e}")
return {}
@classmethod