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(),
}
}
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(