diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Test2/API/Breakage.pm')
-rwxr-xr-x | Master/tlpkg/tlperl/lib/Test2/API/Breakage.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/tlpkg/tlperl/lib/Test2/API/Breakage.pm b/Master/tlpkg/tlperl/lib/Test2/API/Breakage.pm index ffcf1be582f..2dd2852d0e0 100755 --- a/Master/tlpkg/tlperl/lib/Test2/API/Breakage.pm +++ b/Master/tlpkg/tlperl/lib/Test2/API/Breakage.pm @@ -2,7 +2,7 @@ package Test2::API::Breakage; use strict; use warnings; -our $VERSION = '1.302162'; +our $VERSION = '1.302175'; use Test2::Util qw/pkg_to_file/; @@ -73,7 +73,9 @@ sub report { next unless $INC{$file} || ($require && eval { require $file; 1 }); my $want = $suggest{$mod}; next if eval { $mod->VERSION($want); 1 }; - push @warn => " * Module '$mod' is outdated, we recommed updating above $want."; + my $error = $@; + chomp $error; + push @warn => " * Module '$mod' is outdated, we recommed updating above $want. error was: '$error'; INC is $INC{$file}"; } for my $mod (keys %required) { |