Commit 5480d223 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

models/ Raise the same error, no reason to discard the message

parent eab4bdc0
......@@ -347,10 +347,10 @@ def custom_fuse(file_list):
f = open(fuse_filepath, 'rb')
data = gluon.contrib.simplejson.loads(
except IOError:
except IOError, e:
res = {"message": "'custom fuse' -> IOError"}
raise IOError
raise e
clean_cmd = "rm -rf " + out_folder
p = Popen(clean_cmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True)
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