Restore old behavior of showing error message

This commit is contained in:
Dylan 2022-06-04 13:53:14 +01:00
parent 16dfc509d3
commit a5b2eb6cd0

View file

@ -291,7 +291,7 @@ def embed_video(video_link, image=0): # Return Embed from any tweet link
except Exception as e:
print(e)
return redirect(video_link) #message(msgs)
return message(msgs.failedToScan)
else:
return embed(video_link, cached_vnf, image)