summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Hook.pm4
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 $@;
}
}