Skip to content

Hitting KeyboardInterrupt produces too many error logs #343

@ultmaster

Description

@ultmaster

When hitting keyboard interrupt (via Ctrl+C for example), there is a lot of tracebacks on the console (particularly when there are a lot of runners). Something like asyncio.CancelledError...

To reproduce, run this file: https://github.com/microsoft/agent-lightning/blob/main/tests/benchmark/benchmark_store.py

I think this part can be greatly simplified and only show the important messages so that the real errors won't be flushed by the tons of logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions