mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-04 12:02:55 +00:00
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:
committed by
Eric Seppanen
parent
8f43d7637c
commit
fbb04c592a
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user