Skip to content

BS: give more context to toml parsing errors #3413

@kormat

Description

@kormat

If there's a parse error when reading bs.toml, the BS prints an error to stderr with ~no context, and exits:

Near line 34 (last key parsed 'Features'): bare keys cannot contain ':'

Context should be added to specify that this happened while parsing the config file, and the path to the config file.

(This may apply to other services too, this is the only one i checked)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions