Wide range of web improvements #70

Merged
glyph merged 18 commits from web_improvements into main 2022-01-17 09:35:30 +00:00
1 changed files with 2 additions and 5 deletions
Showing only changes of commit 6e4b8faf40 - Show all commits

View File

@ -271,12 +271,9 @@ pub fn add_credentials(wifi: Form<WiFi>, _auth: Authenticated) -> Template {
}
("success".to_string(), "Added WiFi credentials".to_string())
}
Err(_) => {
Err(e) => {
debug!("Failed to add WiFi credentials.");
(
"error".to_string(),
"Failed to add WiFi credentials".to_string(),
)
("error".to_string(), format!("{}", e))
}
}
};