From aa40544231773e3ff20bfe46702dce7d53d23fe0 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Tue, 15 Nov 2022 11:02:59 +0200 Subject: [PATCH] Replace panic! with error! in walredo thread --- pageserver/src/walredo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/walredo.rs b/pageserver/src/walredo.rs index 1ef60c7a94..6018d75663 100644 --- a/pageserver/src/walredo.rs +++ b/pageserver/src/walredo.rs @@ -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]) );