Flame debugging io_preferences_file

This commit is contained in:
Jakub Jezek 2021-10-26 21:36:40 +02:00
parent d01ffd9373
commit 1d8acaa45d
No known key found for this signature in database
GPG key ID: D8548FBF690B100A

View file

@ -15,9 +15,9 @@ def io_preferences_file(klass, filepath, write=False):
flag = "w" if write else "r"
yield open(filepath, flag)
except IOError:
klass.log.info("Unable to work with preferences `{}`".format(
filepath))
except IOError as _error:
klass.log.info("Unable to work with preferences `{}`: {}".format(
filepath, _error))
class FlameAppFramework(object):