Skip to content

Print log message if Configuration parsing fails #92

@LittleHuba

Description

@LittleHuba

What

Currently if parsing the config file fails then there's an amp assert that fails within score:cpp::optional. However, it is difficult during debugging to track this down (it has to be done with gdb). This is still an unrecoverable error, so we should log the failure and call std::terminate() explicitly.

How

No response

Estimates for realization

  • Effort medium
  • Impact on users is that they will get a log if the configuration parsing fails. Other behavior stays similar.

Category

  • Affects Detailed Design

Requirements / Architecture

  • Requirements / Architecture are not affected by this change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions