diff --git a/qutebrowser/misc/sessions.py b/qutebrowser/misc/sessions.py index aa9a1be97..e7233c47a 100644 --- a/qutebrowser/misc/sessions.py +++ b/qutebrowser/misc/sessions.py @@ -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))