Removed an old-style logging command, as _owner may not always exist. Partial attempt at #2928

This commit is contained in:
junglecow 2007-01-23 20:06:07 +00:00
parent 20a146dabf
commit 37ffd5585b
1 changed files with 0 additions and 1 deletions

View File

@ -458,7 +458,6 @@ class NonBlockingTcp(PlugIn, IdleObject):
errtxt = "Connection closed unexpectedly" errtxt = "Connection closed unexpectedly"
if errnum in (ERR_DISCONN, errno.ECONNRESET, errno.ENOTCONN, errno.ESHUTDOWN): if errnum in (ERR_DISCONN, errno.ECONNRESET, errno.ENOTCONN, errno.ESHUTDOWN):
self.DEBUG(errtxt, 'error')
log.error("Connection to %s lost: %s [%d]", self.getName(), errtxt, errnum) log.error("Connection to %s lost: %s [%d]", self.getName(), errtxt, errnum)
self.printed_error = True self.printed_error = True
if not errors_only: if not errors_only: