code: def dispatch_failed(self, context):
          
          traceback.print_exception(
              context.exc_type, context.exc_value, context.traceback)
          raise SystemExit(1)
docs: Print the unhandled exception and exit the application.