-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
As noticed by jgrocott, if you try to run MULE with a nonexistent config file, the error is obtuse:
Traceback (most recent call last):
File "/home/e78368jw/Documents/MULE/bin/mule", line 49, in <module>
pack(args.config)
File "/home/e78368jw/Documents/MULE/packs/proc/proc.py", line 21, in proc
match conf_dict['process']:
~~~~~~~~~^^^^^^^^^^^
KeyError: 'process'
There should be a catch in the binary if the config file isn't found.
UPDATE: 03/11/2025
This error is also caused by the 'process' key being input incorrectly, although I expect this issue to go beyond that specific key in the config being incorrect.
I think the way forward is to write tests inputting incorrect config parameters and ensuring the output is as expected (legible error, warning of the specific incorrect config parameter).
Ian has been graced with this task. 😸
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers