From: Peter Rabbitson Date: Sat, 16 Jul 2016 11:59:30 +0000 (+0200) Subject: Fix error-eating thinko from 6c7ca962 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c8215e2c5a1ae25191d4a7f6bcf7a3a1f89d6970;p=dbsrgits%2FDBIx-Class.git Fix error-eating thinko from 6c7ca962 $@ is not visible in $SIG{__DIE__} --- diff --git a/t/00describe_environment.t b/t/00describe_environment.t index 87b4697..fc1c694 100644 --- a/t/00describe_environment.t +++ b/t/00describe_environment.t @@ -51,7 +51,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;