Don't show error if no autosave session exists
This commit is contained in:
parent
c33544fbc9
commit
cd2c547b6b
@ -303,6 +303,9 @@ class SessionManager(QObject):
|
|||||||
"""Delete the autosave session."""
|
"""Delete the autosave session."""
|
||||||
try:
|
try:
|
||||||
self.delete('_autosave')
|
self.delete('_autosave')
|
||||||
|
except SessionNotFoundError:
|
||||||
|
# Exiting before the first load finished
|
||||||
|
pass
|
||||||
except SessionError as e:
|
except 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