Open jamalex opened 4 years ago
Ah, it seems this was intentional... https://github.com/ftao/python-ifcfg/issues/44
I will update the calling code to deal with this. Leaving this issue open because it seems a bit strange to me to be throwing a raw ValueError instead of something more specific. If it's going to use a more generic base Python exception, something like an EnvironmentError might be more canonical?
@jamalex if Kolibri needs a custom exception, I agree that it would seem semantic/appropriate to replace ValueError
:+1:
Environment:
Warning shown:
In 0.19, it gracefully failed by returning an empty dictionary, whereas in 0.20 and 0.21 it fails by raising an Exception, interrupting execution.