From a2552c6fc5d669ec9e246cb719c5597976124d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Fri, 29 Oct 2021 00:45:24 +0200 Subject: [PATCH] Silence error --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 387915f..d6f0e0e 100644 --- a/main.py +++ b/main.py @@ -70,7 +70,7 @@ async def upload_file(file: UploadFile = File(...)): video_url = f"{domain}files/{file.filename}" Path(output_folder).mkdir(parents=True, exist_ok=True) - except Exception as exception: + except Exception as exception: # pylint: disable=broad-except print(f"Failed to get content type/create folder: {exception}") hook.send(f"Failed to get content type/create folder: {exception}")