In debug mode, log exception.
This commit is contained in:
parent
2082034e85
commit
3be5a9df3b
|
@ -28,6 +28,9 @@ import sys
|
||||||
import vcard
|
import vcard
|
||||||
import dialogs
|
import dialogs
|
||||||
|
|
||||||
|
import logging
|
||||||
|
log = logging.getLogger('gajim.gtkgui_helpers')
|
||||||
|
|
||||||
|
|
||||||
HAS_PYWIN32 = True
|
HAS_PYWIN32 = True
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
|
@ -676,7 +679,7 @@ Description=xmpp
|
||||||
''' % command)
|
''' % command)
|
||||||
f.close()
|
f.close()
|
||||||
except IOError:
|
except IOError:
|
||||||
pass
|
log.debug("I/O Error writing settings to %s", repr(path_to_kde_file), exc_info=True)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import gconf
|
import gconf
|
||||||
|
|
Loading…
Reference in New Issue