Bug 70168 - improve error reporting in die mode
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1096 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
73053ee5c6
commit
3e104fbabb
|
@ -65,9 +65,10 @@ sub _die_error
|
|||
{
|
||||
die @_;
|
||||
}
|
||||
if (ref($_[0]) eq 'Bugzilla::Error')
|
||||
if (ref $_[0] eq 'Bugzilla::Error')
|
||||
{
|
||||
die($_[0]->{message});
|
||||
# Bugzilla::Error has overloaded conversion to string
|
||||
die @_;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue