Skip to content

Commit

Permalink
Update an error message
Browse files Browse the repository at this point in the history
Co-authored-by: Marijan Petričević <[email protected]>
  • Loading branch information
Avi-D-coder and marijanp authored Jan 26, 2024
1 parent 7acd1b9 commit be8e4ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kairos-server/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ where
<T as FromStr>::Err: fmt::Display,
{
std::env::var(env)
.map_err(|e| format!("Failed to parse {}: {}", env, e))
.map_err(|e| format!("Failed to fetch environment variable {}: {}", env, e))
.and_then(|val| {
val.parse::<T>()
.map_err(|e| format!("Failed to parse {}: {}", env, e))
Expand Down

0 comments on commit be8e4ae

Please sign in to comment.