Replace panic! with error! in walredo thread

This commit is contained in:
Konstantin Knizhnik
2022-11-15 11:02:59 +02:00
parent fa69ee3f90
commit aa40544231

View File

@@ -623,7 +623,7 @@ impl PostgresRedoProcess {
// The message might not be split correctly into lines here. But this is
// good enough, the important thing is to get the message to the log.
if n > 0 {
panic!(
error!(
"wal-redo-postgres: {}",
String::from_utf8_lossy(&errbuf[0..n])
);