Commit ffe6a2f6 authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team
Browse files

file.py: upload error message

On error show a notification corresponding to an error
parent a64c85cc
......@@ -184,6 +184,7 @@ def upload():
# Log and exit
res = {"message": error + mes}
if error:
res['success'] = 'false'
log.error(res)
else:
log.info(res)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment