fix missing spreed routes
All checks were successful
CI / build (push) Successful in 47s
CI / checks (push) Successful in 1m0s
CI / build-nixpkgs (push) Successful in 40s

This commit is contained in:
Robin Appelman 2025-08-23 23:36:03 +02:00
commit 4600c8fb3c
2 changed files with 7 additions and 5 deletions

View file

@ -32,7 +32,8 @@ fn extract_routes<W: Write>(out: &mut W, path: &str) {
let app = match get_appinfo(path.as_ref()) {
Ok(info) => info.id().clone(),
Err(nextcloud_appinfo::error::Error::InfoXmlMissing) => "core".into(),
Err(_) => {
Err(e) => {
eprintln!("Error getting routes for {path}: {e:#}");
return;
}
};