bolt
bolt copied to clipboard
Unhelpful error when bolt-plugin.json is empty
Describe the Bug
When bolt-plugin.json is empty or invalid, we raise an exception like "Invalid Plugin Data: <JSON parse error>" without any context about what file we're trying to load or why.
Expected Behavior
The error should make it obvious which file caused the problem and why we were trying to load that file in the first place.