bug fix in error handling
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3373 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
d7f4455df7
commit
c59fc50291
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ class BSCWConnection(object):
|
|||
info = '%s - server: %s, address: %s.' % (excpInfo, self.server, address)
|
||||
logging.getLogger('cybertools.integrator.bscw').warn(info)
|
||||
except Exception, excp:
|
||||
excpInfo = str(excp)
|
||||
info = '%s - server: %s, address: %s.' % (excpInfo, self.server, address)
|
||||
logging.getLogger('cybertools.integrator.bscw').error(info)
|
||||
item = None
|
||||
|
|
Loading…
Add table
Reference in a new issue