projects
/
dbsrgits/SQL-Translator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e8ce648
)
Make maybe_plan skip on unrecognised failures to load modules
Dagfinn Ilmari Mannsåker [Fri, 8 Dec 2017 11:14:06 +0000 (11:14 +0000)]
Changes
patch
|
blob
|
blame
|
history
lib/Test/SQL/Translator.pm
patch
|
blob
|
blame
|
history
diff --git
a/Changes
b/Changes
index
b4f7116
..
8883e09
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,5
+1,7
@@
Changes for SQL::Translator
+ * Make maybe_plan skip on unrecognised failures to load modules
+
0.11023_01 2017-12-07
* Add diagnostics to t/postgresql-rename-table-and-field.t that's
diff --git
a/lib/Test/SQL/Translator.pm
b/lib/Test/SQL/Translator.pm
index
9856350
..
67dc4f9
100644
(file)
--- a/
lib/Test/SQL/Translator.pm
+++ b/
lib/Test/SQL/Translator.pm
@@
-465,6
+465,9
@@
sub maybe_plan {
elsif ($@ =~ /Can't load .+? for module .+?DynaLoader\.pm/i ) {
push @errors, $module;
}
+ else {
+ push @errors, "$module: $@";
+ }
}
if (@errors) {