chore: 处理视频流出错时报出具体错误信息

This commit is contained in:
amtoaer
2025-11-02 00:43:07 +08:00
parent ff6db0ad97
commit b6cba69e11
+1 -1
View File
@@ -64,7 +64,7 @@ pub async fn refresh_video_source<'a>(
.take_while(|(idx, res)| { .take_while(|(idx, res)| {
match res { match res {
Err(e) => { Err(e) => {
error = Err(anyhow!(e.to_string())); error = Err(anyhow!("{:#}", e));
futures::future::ready(false) futures::future::ready(false)
} }
Ok(v) => { Ok(v) => {