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
30b73cfb
Commit
30b73cfb
authored
Jun 12, 2002
by
Shane Hathaway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduced the severity of errors in standard_error_message to "blather".
parent
9a6615b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lib/python/OFS/SimpleItem.py
lib/python/OFS/SimpleItem.py
+5
-4
No files found.
lib/python/OFS/SimpleItem.py
View file @
30b73cfb
...
...
@@ -17,8 +17,8 @@ Aqueduct database adapters, etc.
This module can also be used as a simple template for implementing new
item types.
$Id: SimpleItem.py,v 1.
99 2002/04/12 19:15:27 Torped
Exp $'''
__version__
=
'$Revision: 1.
99
$'
[
11
:
-
2
]
$Id: SimpleItem.py,v 1.
100 2002/06/12 18:34:17 shane
Exp $'''
__version__
=
'$Revision: 1.
100
$'
[
11
:
-
2
]
import
re
,
sys
,
Globals
,
App
.
Management
,
Acquisition
,
App
.
Undo
import
AccessControl.Role
,
AccessControl
.
Owned
,
App
.
Common
...
...
@@ -33,7 +33,7 @@ from Acquisition import aq_base, aq_parent, aq_inner, aq_acquire
from
DocumentTemplate.ustr
import
ustr
from
zExceptions.ExceptionFormatter
import
format_exception
import
time
from
zLOG
import
LOG
,
ERRO
R
from
zLOG
import
LOG
,
BLATHE
R
import
marshal
import
ZDOM
...
...
@@ -209,7 +209,8 @@ class Item(Base, Resource, CopySource, App.Management.Tabs, Traversable,
else
:
v
=
HTML
.
__call__
(
s
,
client
,
REQUEST
,
**
kwargs
)
except
:
LOG
(
'OFS'
,
ERROR
,
'Exception while rendering an error message'
,
LOG
(
'OFS'
,
BLATHER
,
'Exception while rendering an error message'
,
error
=
sys
.
exc_info
())
try
:
strv
=
str
(
error_value
)
...
...
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