mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
use warn! instand of fail!
This commit is contained in:
@@ -320,7 +320,7 @@ impl TcpRelayLocal {
|
||||
_ => {
|
||||
// unsupported CMD
|
||||
send_error_reply(stream, SOCKS5_REPLY_COMMAND_NOT_SUPPORTED);
|
||||
fail!("Unsupported command");
|
||||
warn!("Unsupported command {}", cmd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user