Skip to content

ValueError('File does not include valid YAML: {0}') when using YmlFileSource #64

@dvaccarosenna

Description

@dvaccarosenna

Describe the bug
YmlFileSource throws this error when the file content is invalid YAML, the error message features {0} instead of an actual value (of the file path)

To Reproduce

  1. Create an invalid YAML config file
  2. Attempt to load this file with the YmlFileSource class

Expected behavior
An error is thrown with the file path included

**Environment: **

  • Version [e.g. 1.0.0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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