feat: better iogam
This commit is contained in:
+1
-2
@@ -7,7 +7,6 @@ Email: martinogiordano.ferrari@iter.org
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import pprint
|
||||
import sys
|
||||
from argparse import ArgumentParser
|
||||
|
||||
@@ -62,7 +61,7 @@ def main():
|
||||
f"Impossible to parse file `{args.filename}` at position ({e.line},{e.col}): {e.msg}`"
|
||||
)
|
||||
sys.exit(1)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
logging.error(f"Sometihng went wrong with file `{args.filename}`")
|
||||
sys.exit(1)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user