mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-10-18 19:10:30 +08:00
cli: Don't fail on rad ls if project is invalid
This commit is contained in:
@@ -122,7 +122,13 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
||||
if !seeded && options.seeded {
|
||||
continue;
|
||||
}
|
||||
let proj = doc.project()?;
|
||||
let proj = match doc.project() {
|
||||
Ok(p) => p,
|
||||
Err(e) => {
|
||||
log::error!(target: "cli", "Error loading project payload for {rid}: {e}");
|
||||
continue;
|
||||
}
|
||||
};
|
||||
let head = term::format::oid(head).into();
|
||||
|
||||
rows.push([
|
||||
|
||||
Reference in New Issue
Block a user