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:
|
||||
# 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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user