log connector

This commit is contained in:
burnettk 2023-03-13 22:25:30 -04:00
parent 283d136d12
commit 0d7c3309aa
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ class ServiceTaskDelegate:
def call_connector(name: str, bpmn_params: Any, task_data: Any) -> str:
"""Calls a connector via the configured proxy."""
call_url = f"{connector_proxy_url()}/v1/do/{name}"
current_app.logger.error(f"Calling connector proxy using connector: {name}")
with sentry_sdk.start_span(op="connector_by_name", description=name):
with sentry_sdk.start_span(op="call-connector", description=call_url):
params = {