Skip to content

Commit 4d80b42

Browse files
author
Greg Sabino Mullane
committed
Use Data::Dumper when showing full output on a failed parse, as this is more often than not a complex structure.
1 parent 97e9af1 commit 4d80b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_postgres.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2500,7 +2500,7 @@ sub run_command {
25002500
warn "Postgres version: $v\n";
25012501
}
25022502
## This is a serious parsing fail, so it can be helpful to have the whole enchilada:
2503-
warn "Full output: $db->{slurp}\n\n";
2503+
warn 'Full output: ' . (Dumper $db->{slurp}) . "\n\n";
25042504
exit 1;
25052505
}
25062506
}

0 commit comments

Comments
 (0)