Removed old sentry transaction
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3509698703
commit
0bf778e473
@ -6,7 +6,6 @@ import pika
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
from sentry_sdk.integrations.logging import LoggingIntegration
|
from sentry_sdk.integrations.logging import LoggingIntegration
|
||||||
from sentry_sdk import start_transaction
|
|
||||||
import sentry_sdk
|
import sentry_sdk
|
||||||
|
|
||||||
from config import Config
|
from config import Config
|
||||||
@ -21,8 +20,7 @@ def message_callback(channel, method, properties, body):
|
|||||||
logging.warning(f"Invalid message recieved: {e}")
|
logging.warning(f"Invalid message recieved: {e}")
|
||||||
return
|
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:
|
if results:
|
||||||
channel.basic_publish(
|
channel.basic_publish(
|
||||||
|
Loading…
Reference in New Issue
Block a user