Skip to content

Commit 3610401

Browse files
Prasanna SanthanamPrasanna Santhanam
authored andcommitted
Fail with non-zero exit code when toc category missing
1 parent 911261a commit 3610401

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

setup/apidoc/gen_toc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ def choose_category(fn):
132132
return v
133133
raise Exception('Need to add a category for %s to %s:known_categories' %
134134
(fn, __file__))
135+
sys.exit(1)
135136

136137

137138
for f in sys.argv:

0 commit comments

Comments
 (0)