From 0bf778e47310271fc5132138a86f83204efa165e Mon Sep 17 00:00:00 2001 From: marcsello Date: Fri, 30 Jul 2021 11:47:28 +0200 Subject: [PATCH] Removed old sentry transaction --- cnn_classification_service/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cnn_classification_service/main.py b/cnn_classification_service/main.py index 001c7ea..37e4598 100644 --- a/cnn_classification_service/main.py +++ b/cnn_classification_service/main.py @@ -6,7 +6,6 @@ import pika import json from sentry_sdk.integrations.logging import LoggingIntegration -from sentry_sdk import start_transaction import sentry_sdk from config import Config @@ -21,8 +20,7 @@ def message_callback(channel, method, properties, body): logging.warning(f"Invalid message recieved: {e}") return - with start_transaction(op="cnn-classification-service", name="classify-soundfile"): - results = MagicDoer.run_everything(msg) # <- This is where the magic happens + results = MagicDoer.run_everything(msg) # <- This is where the magic happens if results: channel.basic_publish(