Handle OSError when trying to delete autosave session
This commit is contained in:
parent
736dd77a6e
commit
130be2aedc
@ -323,7 +323,7 @@ class SessionManager(QObject):
|
|||||||
except SessionNotFoundError:
|
except SessionNotFoundError:
|
||||||
# Exiting before the first load finished
|
# Exiting before the first load finished
|
||||||
pass
|
pass
|
||||||
except SessionError as e:
|
except (OSError, SessionError) as e:
|
||||||
log.sessions.error("Failed to delete autosave session: {}"
|
log.sessions.error("Failed to delete autosave session: {}"
|
||||||
.format(e))
|
.format(e))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user