From 1f51f61f07b498364c93c74303cd4619e1527475 Mon Sep 17 00:00:00 2001 From: tilsche Date: Fri, 7 May 2021 13:03:09 +0200 Subject: [PATCH] refactor: remove long outdated code --- metricq_sink_websocket/main.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/metricq_sink_websocket/main.py b/metricq_sink_websocket/main.py index 3ad23c0..9d22aef 100644 --- a/metricq_sink_websocket/main.py +++ b/metricq_sink_websocket/main.py @@ -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")