Skip to content

Commit 1b2784b

Browse files
committed
fix ERROR message
1 parent 36e6440 commit 1b2784b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

restore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ do_restore_or_validate(time_t target_backup_id,
140140
&& !dest_backup)
141141
{
142142
if (current_backup->status != BACKUP_STATUS_OK)
143-
elog(ERROR, "given backup %s is in %s status",
144-
base36enc(target_backup_id), status2str(current_backup->status));
143+
elog(ERROR, "Backup %s has status: %s",
144+
base36enc(current_backup->status), status2str(current_backup->status));
145145

146146
if (target_tli)
147147
{

0 commit comments

Comments
 (0)