Skip to content

Commit

Permalink
ignore errors during explain-put when building a release
Browse files Browse the repository at this point in the history
  • Loading branch information
domm committed Jul 19, 2019
1 parent 439eb26 commit 0cf7213
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion maint/explain-out
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@ if ($engine eq 'SQLite') {
$s->deploy;
print Dumper($s->resultset('Gnarly')->explain)
} else {
print Dumper(A::Util::connect($engine, $engine)->resultset('Gnarly')->explain)
eval {
print Dumper(A::Util::connect($engine, $engine)->resultset('Gnarly')->explain)
};
if ($@) {
print "Problem during maint/explain-out, but probably not fatal: $@";
}
}

0 comments on commit 0cf7213

Please sign in to comment.