diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py index 03c683b844..ce618cafb4 100644 --- a/django/core/management/__init__.py +++ b/django/core/management/__init__.py @@ -207,7 +207,7 @@ class LaxOptionParser(OptionParser): # either way, add it to the args list so we can keep # dealing with options del rargs[0] - raise error + raise Exception except: largs.append(arg)