diff options
author | mkanat%bugzilla.org <> | 2006-12-19 15:43:10 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-12-19 15:43:10 +0100 |
commit | a32a16cafd772c918f2487423aa3317149bfff75 (patch) | |
tree | 5ca78e510ad53e140b05da8b8283198e8ee09cf5 /Bugzilla | |
parent | bffa52bd4899458aca4456717dd11786cc585640 (diff) | |
download | bugzilla-a32a16cafd772c918f2487423aa3317149bfff75.tar.gz bugzilla-a32a16cafd772c918f2487423aa3317149bfff75.tar.xz |
Bug 364250: If a hook fails, no error is available for diagnosis
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin, a=myk
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Hook.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index f8167cd65..3e784bd0e 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -44,8 +44,8 @@ sub process { if (-e $extension.'/code/'.$name.'.pl') { Bugzilla->hook_args($args); do($extension.'/code/'.$name.'.pl'); - ThrowCodeError('extension_invalid', { - name => $name, extension => $extension }) if $@; + ThrowCodeError('extension_invalid', + { errstr => $@, name => $name, extension => $extension }) if $@; } } |