Skip to content
Snippets Groups Projects

st3m: handle toml syntax errors more gracefully

Merged pippin requested to merge pippin/be_graceful_with_bad_toml_syntax into main
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -108,6 +108,8 @@ class BundleMetadata:
try:
t = toml.load(f)
except toml.TomlDecodeError as e:
raise BundleMetadataCorrupt(str(e))
except Exception as e:
raise BundleMetadataCorrupt(str(e))
Loading