Skip to content

BC break: yaml construct error on empty/comment-only stream #342

@andig

Description

@andig

After upgrading to master we're seing this error when parsing empty/ comment-only yaml:

image

evcc-io/evcc#29672

What's striking here is:

  • error on empty document
  • error on comment-only document
  • strange error message containing <unknown position>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions