projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
| inline |
side by side
(parent:
97e9af1
)
Use Data::Dumper when showing full output on a failed parse, as this is more often...
author
Greg Sabino Mullane
<
[email protected]
>
Sat, 1 Nov 2014 16:17:18 +0000
(12:17 -0400)
committer
Greg Sabino Mullane
<
[email protected]
>
Sat, 1 Nov 2014 16:17:18 +0000
(12:17 -0400)
check_postgres.pl
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 1893b62d65ee1fbb01396968ca7420f530244192..a075d97c79eb75eebe48ed7dc32cffbc773d0559 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-2500,7
+2500,7
@@
sub run_command {
warn "Postgres version: $v\n";
}
## This is a serious parsing fail, so it can be helpful to have the whole enchilada:
- warn
"Full output: $db->{slurp}
\n\n";
+ warn
'Full output: ' . (Dumper $db->{slurp}) . "
\n\n";
exit 1;
}
}