Mercurial > pub > Impl
diff lib/IMPL/AppException.pm @ 422:b0481c071bea ref20150831
IMPL::Config::Container tests, YAMLConfiguration now works and tested
author | cin |
---|---|
date | Sun, 20 Aug 2017 00:20:41 +0300 |
parents | c6e90e02dd17 |
children |
line wrap: on
line diff
--- a/lib/IMPL/AppException.pm Sun Jul 16 22:59:39 2017 +0300 +++ b/lib/IMPL/AppException.pm Sun Aug 20 00:20:41 2017 +0300 @@ -31,7 +31,7 @@ $instance->source(shortmess); $instance->callStack(longmess); - + return $instance; } @@ -44,7 +44,7 @@ sub throw { my $self = shift; - die $self->new(@_); + die ref $self ? $self : $self->new(@_); } 1;