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(),
|
.collect(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(_) => PortfolioTemplate {
|
Err(e) => {
|
||||||
|
eprintln!("{}", e);
|
||||||
|
|
||||||
|
PortfolioTemplate {
|
||||||
error: true,
|
error: true,
|
||||||
projects: Vec::new(),
|
projects: Vec::new(),
|
||||||
waiting: Vec::new(),
|
waiting: Vec::new(),
|
||||||
closed: Vec::new(),
|
closed: Vec::new(),
|
||||||
},
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
config.tmpl.render(
|
config.tmpl.render(
|
||||||
|
|
Loading…
Reference in a new issue