          """
          Set up any environment changes requested (e.g., Python path
          and Django settings), then run this command. If the
          command raises a ``CommandError``, intercept it and print it sensibly
          to stderr.
          """
          parser = self.create_parser(argv[0], argv[1])
          options, args = parser.parse_args(argv[2:])
          handle_default_options(options)
          try:
 
</s> remove             help='Print traceback on exception'),
 </s> add             help='Raise on exception'), </s> remove             with self.assertRaises(SystemExit):
 </s> add             # If the Exception is not CommandError it should always
            # raise the original exception.
            with self.assertRaises(TypeError): </s> remove             if options.traceback or not isinstance(e, CommandError):
                stderr.write(traceback.format_exc())
            else:
                stderr.write('%s: %s' % (e.__class__.__name__, e))
 </s> add             stderr.write('%s: %s' % (e.__class__.__name__, e))
        to stderr. If the ``--traceback`` option is present or the raised
        ``Exception`` is not ``CommandError``, raise it.
          """
          Set up any environment changes requested (e.g., Python path
          and Django settings), then run this command. If the
          command raises a ``CommandError``, intercept it and print it sensibly
        to stderr. If the ``--traceback`` option is present or the raised
        ``Exception`` is not ``CommandError``, raise it.
          """
          parser = self.create_parser(argv[0], argv[1])
          options, args = parser.parse_args(argv[2:])
          handle_default_options(options)
          try:
keep keep keep keep replace keep keep keep keep keep
 Fixed #20445 -- Raised original exception after command error 
django/core/management/base.py