Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions plain2code.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,9 @@ def main(): # noqa: C901
# Log traceback
dump_crash_logs(args)

if args.headless and (exc_info is not None or not run_state.render_succeeded):
sys.exit(1)


if __name__ == "__main__": # noqa: C901
main()
Loading