From b604749b2a05f880f84db42cc865f741a146ca24 Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Mon, 6 Sep 2021 23:54:13 +0200 Subject: [PATCH] fd --- files/routes/posts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/routes/posts.py b/files/routes/posts.py index 91e8fec69..e7b62b403 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -558,6 +558,10 @@ def check_processing_thread(v, post, link, db): db.commit() break + # just in case + elif status == 'failed': + print(f"video upload for post {post.id} failed") + break except Exception: break