This commit is contained in:
parent
fac3e89d1c
commit
08900b5c2d
1 changed files with 10 additions and 6 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue