Skip to content

Refactor DebuginfodServer initialization error handling #63873

@mysterymath

Description

@mysterymath

Currently, DebuginfodServer crashes the program in its constructor if the HTTP Server cannot be set up (i.e., if some aspect of setting up the wrapped HTTPServer instance fails). This responsibility more properly falls on the program instantiating the DebuginfodServer instance. Accordingly, this should be changed to use a factory method, so that the instantiating program can decide how to handle failure.

DebuginfodServer::DebuginfodServer(DebuginfodLog &Log,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions