Handle OSError when trying to delete autosave session

This commit is contained in:
Florian Bruhin 2017-06-26 19:47:54 +02:00
parent 736dd77a6e
commit 130be2aedc

View File

@ -323,7 +323,7 @@ class SessionManager(QObject):
except SessionNotFoundError:
# Exiting before the first load finished
pass
except SessionError as e:
except (OSError, SessionError) as e:
log.sessions.error("Failed to delete autosave session: {}"
.format(e))