log connector

This commit is contained in:
burnettk 2023-03-13 22:25:30 -04:00
parent e847d1ac1b
commit 8bbacc2259
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: def call_connector(name: str, bpmn_params: Any, task_data: Any) -> str:
"""Calls a connector via the configured proxy.""" """Calls a connector via the configured proxy."""
call_url = f"{connector_proxy_url()}/v1/do/{name}" 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="connector_by_name", description=name):
with sentry_sdk.start_span(op="call-connector", description=call_url): with sentry_sdk.start_span(op="call-connector", description=call_url):
params = { params = {