Skip to content
Snippets Groups Projects
Commit a2e8ae61 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Now catches 200% more exceptions.

parent df46d0b0
No related branches found
No related tags found
2 merge requests!82V0.7.3,!78Simplified representative system handling
Pipeline #67544 failed
......@@ -115,7 +115,7 @@ class SystemBasedNormalizer(Normalizer, metaclass=ABCMeta):
sccs = self._backend[s_scc]
scc = sccs[-1]
system_idx = scc["single_configuration_calculation_to_system_ref"]
except KeyError:
except Exception:
sccs = []
# If no sccs exist, try to find systems
......@@ -124,7 +124,7 @@ class SystemBasedNormalizer(Normalizer, metaclass=ABCMeta):
systems = self._backend.get_sections(s_system)
system = systems[-1]
system_idx = system["single_configuration_calculation_to_system_ref"]
except KeyError:
except Exception:
sccs = []
if system_idx is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment