diff --git a/src/routes/contrib.rs b/src/routes/contrib.rs index b1102cf..4a1b9a5 100644 --- a/src/routes/contrib.rs +++ b/src/routes/contrib.rs @@ -111,12 +111,16 @@ pub async fn get_page(config: Config) -> std::string::String { .collect(), } } - Err(_) => PortfolioTemplate { - error: true, - projects: Vec::new(), - waiting: Vec::new(), - closed: Vec::new(), - }, + Err(e) => { + eprintln!("{}", e); + + PortfolioTemplate { + error: true, + projects: Vec::new(), + waiting: Vec::new(), + closed: Vec::new(), + } + } }; config.tmpl.render(