Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
3366502b
Commit
3366502b
authored
Aug 29, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix logging in store().
The ImmediateCommitStrategy storage is not a ZEOStorage, but a FileStorage.
parent
37a69f51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+3
-3
No files found.
src/ZEO/StorageServer.py
View file @
3366502b
...
...
@@ -483,8 +483,8 @@ class ImmediateCommitStrategy:
except
Exception
:
# Unexpected storage errors are logged and passed to the client
exc_info
=
sys
.
exc_info
()
self
.
storage
.
_
log
(
"store error: %s, %s"
%
exc_info
[:
2
],
zLOG
.
ERROR
,
error
=
exc_info
)
log
(
"store error: %s, %s"
%
exc_info
[:
2
],
zLOG
.
ERROR
,
error
=
exc_info
)
newserial
=
exc_info
[
1
]
del
exc_info
else
:
...
...
@@ -495,7 +495,7 @@ class ImmediateCommitStrategy:
dump
(
newserial
,
1
)
except
:
msg
=
"Couldn't pickle storage exception: %s"
%
repr
(
newserial
)
self
.
storage
.
_
log
(
msg
,
zLOG
.
ERROR
)
log
(
msg
,
zLOG
.
ERROR
)
dump
(
''
,
1
)
# clear pickler
r
=
StorageServerError
(
msg
)
newserial
=
r
...
...
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