Skip to content
Snippets Groups Projects
Commit 4a20b5c5 authored by pippin's avatar pippin
Browse files

st3m: handle toml syntax errors more gracefully

Fixing issue #57
parent 0076f23c
No related branches found
No related tags found
No related merge requests found
Pipeline #6965 passed
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment