Skip to content

Commit 32e0363

Browse files
authored
Merge pull request #579 from veselypeta/petr/raise-exception-in-mako-write
[UR] re-raise exception in makoWrite
2 parents bf5a4e1 + 7d0326e commit 32e0363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def makoWrite(inpath, outpath, **args):
168168
line = "%s: %s" % (str(traceback.error.__class__.__name__), traceback.error)
169169
makoErrorList.append(line)
170170
print(line)
171-
return 0
171+
raise
172172

173173
def makoFileListWrite(outpath):
174174
jsonWrite(outpath, makoFileList)

0 commit comments

Comments
 (0)