svgo-compressor icon indicating copy to clipboard operation
svgo-compressor copied to clipboard

Improve error reporting when svgo.json is broken

Open bomberstudios opened this issue 6 years ago • 3 comments

See #21 for background info

bomberstudios avatar Jul 31 '17 07:07 bomberstudios

+1 for this.

I edited the json settings file once yesterday(only commented out one option), and today when I select "About SVGO Compressor" nothing happens :/ Would love to know more details about whether the file is broken or not.

davemoz avatar Nov 21 '17 18:11 davemoz

JSON doesn't support comments so you can't comment out a field. So i'd say the file is broken :)

mathieudutour avatar Nov 21 '17 19:11 mathieudutour

Ah, thanks! Changed it back and it's working. I guess this still applies to this issue though. More details when something is wrong, instead of simply not responding, would help diagnose the problem. Thanks again!

davemoz avatar Nov 21 '17 19:11 davemoz