Restore old behavior of showing error message
This commit is contained in:
parent
16dfc509d3
commit
a5b2eb6cd0
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ def embed_video(video_link, image=0): # Return Embed from any tweet link
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
return redirect(video_link) #message(msgs)
|
return message(msgs.failedToScan)
|
||||||
else:
|
else:
|
||||||
return embed(video_link, cached_vnf, image)
|
return embed(video_link, cached_vnf, image)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue