Skip to content

FastSerialization throws generic Exception on error #1033

Open
@sywhang

Description

@sywhang

When an EventPipeEventSource is created with a stream, sometimes FastSerialization can run into error when the target process stops sending data and EventPipeEventSource tries to read off the stream and fails.

This then throws a plain Exception instance, which is rather unfortunate because it makes it hard on the consumer side to catch just this kind of exception and force a catch-all clause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions