improve end reason in list ui

* in backend, save the full reason, not just the most direct error,
  which is often the useless `UNKNOWN`

* in UI, instead of wrapping in `<Typography>` which just resorts in
  a weird ransom-note mixed size look, reserve space for or actually
  use an icon.
This commit is contained in:
Scott Lamb
2024-09-01 22:12:28 -07:00
parent 1473e79e96
commit 3efff2cfd6
2 changed files with 8 additions and 4 deletions

View File

@@ -204,7 +204,7 @@ where
let frame = match frame {
Ok(f) => f,
Err(e) => {
let _ = w.close(None, Some(e.to_string()));
let _ = w.close(None, Some(e.chain().to_string()));
return Err(e);
}
};