summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Error.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-10 17:29:02 +0200
committerGitHub <noreply@github.com>2018-04-10 17:29:02 +0200
commit0002ecc5bb7078e2da0350fcc3c2850cf02bcd7b (patch)
tree4a465207632b31ddae6d34df623ce37da5fd3267 /Bugzilla/Error.pm
parent58c4f6814461ee4e35f0cffbdd63d948df940d35 (diff)
downloadbugzilla-0002ecc5bb7078e2da0350fcc3c2850cf02bcd7b.tar.gz
bugzilla-0002ecc5bb7078e2da0350fcc3c2850cf02bcd7b.tar.xz
Bug 1450990 - Refactor a bunch of the logging config files
Diffstat (limited to 'Bugzilla/Error.pm')
-rw-r--r--Bugzilla/Error.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm
index ef57303e9..9fcd16386 100644
--- a/Bugzilla/Error.pm
+++ b/Bugzilla/Error.pm
@@ -169,7 +169,7 @@ sub ThrowUserError {
sub ThrowCodeError {
my ($error, $vars) = @_;
- my $logfunc = _make_logfunc('User');
+ my $logfunc = _make_logfunc('Code');
_add_vars_to_logging_fields($vars);
_throw_error( 'global/code-error.html.tmpl', $error, $vars, $logfunc );