You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is also reproducible if one has perfectly valid json output but puts a comment at the top line:
#No comments in JSON!
{
"stats": {
...
Anyway, it would be a nice bonus feature if the script could ignore stuff until it encountered JSON, at which point it would start to process the json and then explode if it had any subsequent parse errors.
Alternately, it could just error out and say "$file is not valid JSON."
Dealer's choice. (Right now it explodes with a stack trace)
The text was updated successfully, but these errors were encountered:
catalog_preview has a --debug option
If this option is used, it populates the output with data such as:
(note the ASCII color codes)
This is also reproducible if one has perfectly valid json output but puts a comment at the top line:
Anyway, it would be a nice bonus feature if the script could ignore stuff until it encountered JSON, at which point it would start to process the json and then explode if it had any subsequent parse errors.
Alternately, it could just error out and say "$file is not valid JSON."
Dealer's choice. (Right now it explodes with a stack trace)
The text was updated successfully, but these errors were encountered: