Skip to content

Commit

Permalink
refactor: remove long outdated code
Browse files Browse the repository at this point in the history
  • Loading branch information
tilsche committed May 7, 2021
1 parent 89c21d1 commit 1f51f61
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions metricq_sink_websocket/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,6 @@ def create_app(loop, token, management_url, management_exchange, port):
return app


def panic(loop, context):
print("EXCEPTION: {}".format(context["message"]))
if context["exception"]:
print(context["exception"])
traceback.print_tb(context["exception"].__traceback__)
loop.stop()


@click.command()
@click.argument("management-url", default="amqp://localhost/")
@click.option("--token", default="metricq-sink-websocket")
Expand Down

0 comments on commit 1f51f61

Please sign in to comment.