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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy