Open BONNe opened 3 years ago
Yes, I want to fix this. Currently, the deserialize method is only aware of the class and not the file that is being used. I think I might make it throw the exception so that the error can happen higher up. Also, I'm toying with making GRASS_PATH automatically convert to DIRT_PATH, maybe with a warning.
Description
Is your feature request related to a problem?
When in some config files there are invalid material type, we are getting error like this:
However, if you have a lot of BentoBox addons, it will take a lot of time to find which config file contains GRASS_PATH.
Describe the solution you'd like us to implement.
It would be awesome, if
Error in YML file
contained a path to the file which generated this exception.