Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
360c7015
Commit
360c7015
authored
Apr 27, 1999
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified the default standard_error_message to make it more pretty and verbose.
parent
ca3fbf6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
19 deletions
+45
-19
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+45
-19
No files found.
lib/python/OFS/Application.py
View file @
360c7015
...
...
@@ -85,8 +85,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.10
0 1999/04/23 00:56:10
amos Exp $'''
__version__
=
'$Revision: 1.10
0
$'
[
11
:
-
2
]
$Id: Application.py,v 1.10
1 1999/04/27 23:49:46
amos Exp $'''
__version__
=
'$Revision: 1.10
1
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
regex
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
...
...
@@ -107,32 +107,58 @@ from misc_ import Misc_
_standard_error_msg
=
'''
\
<!--#var standard_html_header-->
<!--#if error_message-->
<!--#var error_message-->
<!--#else-->
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD WIDTH="10%" ALIGN="CENTER">
<STRONG><FONT SIZE="+6" COLOR="#77003B">!</FONT></STRONG>
</TD>
<TD WIDTH="90%"><BR>
<FONT SIZE="+2">System Unavailable</FONT>
<P>This site is currently experiencing technical difficulties.
Please contact the site administrator for more information. For
additional technical information, please refer to the HTML source for this
page. Thank you for your patience.</P>
</TD>
</TR>
<TR VALIGN="TOP">
<TD WIDTH="10%" ALIGN="CENTER">
<STRONG><FONT SIZE="+6" COLOR="#77003B">!</FONT></STRONG>
</TD>
<TD WIDTH="90%">
<H2>Zope Error</H2>
<P>Zope has encountered an error while publishing this resource.
</P>
<P>
<STRONG>Error Type: <!--#var error_type--></STRONG><BR>
<STRONG>Error Value: <!--#var error_value--></STRONG><BR>
</P>
<HR NOSHADE>
<P>Troubleshooting Suggestions</P>
<UL>
<!--#if "error_type in ('KeyError','NameError')"-->
<LI>This resource may be trying to reference a
nonexistent object or variable <STRONG><!--#var error_value--></STRONG>.</LI>
<!--#/if-->
<LI>The URL may be incorrect.</LI>
<LI>The parameters passed to this resource may be incorrect.</LI>
<LI>A resource that this resource relies on may be encountering an error.</LI>
</UL>
<P>For more detailed information about the error, please
refer to the HTML source for this page.
</P>
<P>If the error persists please contact the site maintainer.
Thank you for your patience.
</P>
</TD></TR>
</TABLE>
<!--
Error type: <!--#var error_type-->
Error value: <!--#var error_value-->
-->
<!--#comment-->
Here, events like logging and other actions may also be performed, such as
sending mail automatically to the administrator.
<!--#/comment-->
<!--#endif-->
<!--#/if-->
<!--#var standard_html_footer-->'''
...
...
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