Skip to content

Conversation

ltitanb
Copy link
Collaborator

@ltitanb ltitanb commented Aug 5, 2024

Error in config parsing are now bubbled up to the user.

Before

Initializing Commit-Boost with config file: config.example.toml
Error: could not deserialize toml from string

Now

Initializing Commit-Boost with config file: config.example.toml
Error:
   0: could not deserialize toml from string
   1: TOML parse error at line 16, column 7
   1:    |
   1: 16 | url = "http://invalid-key@abc.xyz"
   1:    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   1: odd number of digits
   1:

Location:
   crates/common/src/config/utils.rs:22

@ltitanb ltitanb requested a review from fbrv August 5, 2024 15:20
@ltitanb ltitanb merged commit 7649c89 into main Aug 5, 2024
@ltitanb ltitanb deleted the config-error branch August 5, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants