def run(self, args):
        try:
            return self.dispatch(args)
        except getopt.GetoptError as e:
            print("Error: %s\n" % str(e))
            self.display_help()
            return 2
        except CallError as e:
            sys.stderr.write("%s\n" % str(e))
            return 1
        except ArgumentError as e:
            sys.stderr.write("%s\n" % str(e))
            return 1
        except __HOLE__:
            return 1
        except Exception:
            sys.stderr.write(traceback.format_exc())
            return 1
dataset/ETHPy150Open circus-tent/circus/circus/circusctl.py/ControllerApp.run