Skip to content

Commit

Permalink
Merge pull request #2688 from billdawson/timob-10215
Browse files Browse the repository at this point in the history
TIMOB-10215 If JSCA file creation contains runtime errors, fail it immed...
  • Loading branch information
Arthur Evans committed Aug 9, 2012
2 parents 1759637 + 2b7be3f commit e131da2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apidoc/docgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,8 @@ def load_one_yaml(filepath):
except KeyboardInterrupt:
raise
except:
e = traceback.format_exc()
log.error("Exception occured while processing %s:" % filepath)
for line in e.splitlines():
log.error(line)
return None
log.error("Exception occurred while processing %s:" % filepath)
raise
finally:
if f is not None:
try:
Expand Down

0 comments on commit e131da2

Please sign in to comment.