print error
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-04-12 01:44:02 +02:00
parent fac3e89d1c
commit 08900b5c2d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -111,12 +111,16 @@ pub async fn get_page(config: Config) -> std::string::String {
.collect(), .collect(),
} }
} }
Err(_) => PortfolioTemplate { Err(e) => {
error: true, eprintln!("{}", e);
projects: Vec::new(),
waiting: Vec::new(), PortfolioTemplate {
closed: Vec::new(), error: true,
}, projects: Vec::new(),
waiting: Vec::new(),
closed: Vec::new(),
}
}
}; };
config.tmpl.render( config.tmpl.render(