Skip to content

Separate default turn error logs from outbound traces - #660

Open
Cecilia Avila (ceciliaavila) wants to merge 3 commits into
mainfrom
southworks/update/default-turn-error-diagnostics
Open

Cecilia Avila (ceciliaavila) wants to merge 3 commits into
mainfrom
southworks/update/default-turn-error-diagnostics

Conversation

@ceciliaavila

Copy link
Copy Markdown
Collaborator

Description

The default HTTP handler now sends a generic user response and logs the original exception through Python logging instead of printing tracebacks to stdout. Both aiohttp and FastAPI accept emit_stack_trace=False; explicit opt-in adds traceback frames to diagnostic traces independently of server logging. Custom callbacks retain replacement behavior.

Traces still include exception messages, and expectReplies can buffer them outside the emulator channel. Stack suppression is not redaction.

This adapts https://redirect.github.com/microsoft/Agents-for-net/pull/1027 through existing Python hooks.

Testing

The following image shows the changes working.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants