From: Peter Rabbitson Date: Sat, 16 Jul 2016 11:59:30 +0000 (+0200) Subject: Fix error-eating thinko from 6c7ca962 / 40097e49 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e8859d16efc9169a2716b5833ca0cdf224af6ae5;p=dbsrgits%2FDBIx-Class.git Fix error-eating thinko from 6c7ca962 / 40097e49 ( cherry-pick of c8215e2c ) $@ is not visible in $SIG{__DIE__} --- diff --git a/t/00describe_environment.t b/t/00describe_environment.t index 13cb79b..30ef53d 100644 --- a/t/00describe_environment.t +++ b/t/00describe_environment.t @@ -56,7 +56,7 @@ use Test::More 'no_plan'; # Things happen... unfortunately $SIG{__DIE__} = sub { - die unless defined $^S and ! $^S; + die $_[0] unless defined $^S and ! $^S; diag "Something horrible happened while assembling the diag data\n$_[0]"; exit 0;