mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
Using sys.exit(1) in a management command makes it impossible to unit test the code in question. The correct approach to do the same thing in Django management commands is to raise CommandError.