You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sys.exit is probably wrong in most places in edx code. It's almost always better to just raise an exception. In particular, in management commands, you should raise a CommandError so that callers using the command via call_command don't have the process shut down underneath them.
The text was updated successfully, but these errors were encountered:
sys.exit
is probably wrong in most places in edx code. It's almost always better to just raise an exception. In particular, in management commands, you should raise aCommandError
so that callers using the command viacall_command
don't have the process shut down underneath them.The text was updated successfully, but these errors were encountered: