forked from openlp/openlp
Debugging aid for bad file errors
This commit is contained in:
parent
dd1f418f46
commit
b28e073d5f
@ -526,7 +526,7 @@ class ServiceManager(QtGui.QWidget):
|
||||
'File is not a valid service.'))
|
||||
log.exception(u'File contains no service data')
|
||||
except (IOError, NameError):
|
||||
log.exception(u'Problem loading a service file')
|
||||
log.exception(u'Problem loading service file %s' % filename)
|
||||
finally:
|
||||
if fileTo:
|
||||
fileTo.close()
|
||||
|
Loading…
Reference in New Issue
Block a user