refine code

This commit is contained in:
ssrlive 2023-03-23 16:31:33 +08:00
parent 1a5eeece6f
commit 4af656039e
4 changed files with 35 additions and 41 deletions

View file

@ -85,5 +85,7 @@ pub fn main_entry(tun: &str, proxy: Proxy) {
ttp.add_connection_manager(HttpManager::new(proxy.addr, proxy.credentials));
}
}
ttp.run();
if let Err(e) = ttp.run() {
log::error!("{e}");
}
}