Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
bd2fa9ea
Commit
bd2fa9ea
authored
Feb 25, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 282074: Software error instead of Bugzilla's "Internal Error" Message
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=joel, a=myk
parent
e55f5041
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Error.pm
Bugzilla/Error.pm
+3
-3
No files found.
Bugzilla/Error.pm
View file @
bd2fa9ea
...
...
@@ -108,9 +108,9 @@ sub ThrowTemplateError {
# Try a template first; but if this one fails too, fall back
# on plain old print statements.
if
(
!
$template
->
process
(
"global/code-error.html.tmpl"
,
$vars
))
{
my
$maintainer
=
Param
(
'maintainer'
);
my
$error
=
html_quote
(
$vars
->
{
'template_error_msg'
});
my
$error2
=
html_quote
(
$template
->
error
());
my
$maintainer
=
Bugzilla::Config::
Param
(
'maintainer'
);
my
$error
=
Bugzilla::Util::
html_quote
(
$vars
->
{
'template_error_msg'
});
my
$error2
=
Bugzilla::Util::
html_quote
(
$template
->
error
());
print
<<END;
<tt>
<p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment