bolt icon indicating copy to clipboard operation
bolt copied to clipboard

Unhelpful error when bolt-plugin.json is empty

Open nicklewis opened this issue 3 years ago • 0 comments

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.

nicklewis avatar Aug 22 '22 18:08 nicklewis