wal_service: change error message at thread exit

Because many errors are propagated to this point, use a better message
than "socket error".
This commit is contained in:
Eric Seppanen
2021-05-15 17:28:51 -07:00
committed by Eric Seppanen
parent 8f43d7637c
commit fbb04c592a

View File

@@ -27,7 +27,7 @@ pub fn thread_main(conf: WalAcceptorConf) -> Result<()> {
let conf = conf.clone();
thread::spawn(move || {
if let Err(err) = handle_socket(socket, conf) {
error!("socket error: {}", err);
error!("connection handler exited: {}", err);
}
});
}