feat(settings): log path to field where config deserialization failed (#78)

Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
Sanchith Hegde
2022-12-07 14:32:12 +05:30
committed by GitHub
parent 18aed187aa
commit b72e0df512
4 changed files with 16 additions and 5 deletions

View File

@ -119,7 +119,7 @@ pub enum BachError {
#[error("{{ error_description: Error while parsing, error_message: {0} }}")]
EParsingError(error_stack::Report<ParsingError>),
#[error("Environment configuration error: {0}")]
#[error("Application configuration error: {0}")]
ConfigurationError(ConfigError),
#[error("{{ error_description: Database operation failed, error_message: {0} }}")]