use warn! instand of fail!

This commit is contained in:
Y. T. Chung
2014-10-23 22:45:18 +08:00
parent ed04434840
commit 0c83ae9baa

View File

@@ -320,7 +320,7 @@ impl TcpRelayLocal {
_ => {
// unsupported CMD
send_error_reply(stream, SOCKS5_REPLY_COMMAND_NOT_SUPPORTED);
fail!("Unsupported command");
warn!("Unsupported command {}", cmd);
}
}
}