In debug mode, log exception.

This commit is contained in:
junglecow 2007-01-06 15:31:30 +00:00
parent 2082034e85
commit 3be5a9df3b
1 changed files with 4 additions and 1 deletions

View File

@ -28,6 +28,9 @@ import sys
import vcard
import dialogs
import logging
log = logging.getLogger('gajim.gtkgui_helpers')
HAS_PYWIN32 = True
if os.name == 'nt':
@ -676,7 +679,7 @@ Description=xmpp
''' % command)
f.close()
except IOError:
pass
log.debug("I/O Error writing settings to %s", repr(path_to_kde_file), exc_info=True)
try:
import gconf