msgbox & translations

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2022-10-17 22:00:44 +08:00
1 parent 5ddb10366e
commit 77de0d05f9
42 files changed
+271 -64

No files matched your search

+2 -2
View File
@@ -75,13 +75,13 @@ pub async fn listen(
let interface = interface.clone();
tokio::spawn(async move {
if let Err(err) = run_forward(forward, stream).await {
interface.msgbox("error", "Error", &err.to_string());
interface.msgbox("error", "Error", &err.to_string(), "");
}
log::info!("connection from {:?} closed", addr);
});
}
Err(err) => {
interface.msgbox("error", "Error", &err.to_string());
interface.msgbox("error", "Error", &err.to_string(), "");
}
_ => {}
}