Commit 9c221f8f authored by Lucas Felix's avatar Lucas Felix
Browse files

Repair last_error not handling session loading errors

parent 6819dd85
......@@ -766,6 +766,8 @@ class Session:
# session objects
self._set_scan_saving(cls=self._config_scan_saving_class)
self._set_error_report(expert_error_report)
# Instantiate the session objects
try:
CURRENT_SESSION.is_loading_config = True
......@@ -779,8 +781,6 @@ class Session:
self._register_session_importers(self)
self._set_error_report(expert_error_report)
self._set_scan_display()
self._additional_variables(env_dict)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment