mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-02-04 10:26:01 -05:00
camera test button: include full error chain
...otherwise this simply says `UNKNOWN`, discarding the details from `retina`.
This commit is contained in:
parent
64ca096ff3
commit
9d07d24bc7
@ -299,9 +299,14 @@ fn press_test(siv: &mut Cursive, t: db::StreamType) {
|
||||
let description = match r {
|
||||
Err(ref e) => {
|
||||
siv.add_layer(
|
||||
views::Dialog::text(format!("{} stream at {}:\n\n{}", t.as_str(), &url, e))
|
||||
.title("Stream test failed")
|
||||
.dismiss_button("Back"),
|
||||
views::Dialog::text(format!(
|
||||
"{} stream at {}:\n\n{}",
|
||||
t.as_str(),
|
||||
&url,
|
||||
e.chain()
|
||||
))
|
||||
.title("Stream test failed")
|
||||
.dismiss_button("Back"),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user