Improve logging & messages returned

This commit is contained in:
Dylan
2023-08-13 15:23:08 +01:00
parent e0713a8eeb
commit 189f42ef79
3 changed files with 3 additions and 1 deletions

View File

@ -377,7 +377,7 @@ def vnfFromCacheOrDL(video_link):
elif 'suspended' in exErr.msg:
exErr.msg=msgs.tweetSuspended
else:
exErr.msg=msgs.tweetNotFound
exErr.msg=msgs.unknownError
log.error("VNF Get failed: " + video_link + " " + log.get_exception_traceback_str(exErr))
return None,exErr.msg