During handling of the above exception, another exception occurred
Currently, you having an issue with raising the ValueError exception inside another caught exception. The reasoning for this solution doesn’t make much sense to me but if you change To Making your end code. You should get the desired result of catching an exception. e.g. Sorry I can’t give you an explanation why this works specifically but … Read more