We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aec0dc commit 4a05178Copy full SHA for 4a05178
src/main.rs
@@ -44,7 +44,8 @@ async fn health() -> Result<impl Responder, ApiError> {
44
45
#[tokio::main]
46
async fn main() -> anyhow::Result<()> {
47
- log4rs::init_file("config/log4rs.yaml", Default::default())?;
+ log4rs::init_file("config/log4rs.yaml", Default::default())
48
+ .map_err(|e| e.context("Failed to read log4rs config"))?;
49
50
let env_url = dotenvy::var("DATABASE_URL")?;
51
0 commit comments