mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-20 09:56:07 -05:00
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:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user