def run():
    args = docopt(__doc__, version=__version__)
    try:
        s = Server(args)
        s.run()
    except KeyboardInterrupt:
        pass
    except Exception as e:
        import traceback
        print(traceback.format_exc())
        print("error: %s" % str(e))
        sys.exit(1)

    sys.exit(0)
dataset/ETHPy150Open benoitc/gaffer/gaffer/gafferd/main.py/run/original