scottopolis / edd-metrics

EDD Metrics
46 stars 12 forks source link

Unexpected end of JSON input #35

Closed wolffe closed 7 years ago

wolffe commented 7 years ago

I don't have any refunds or discounted sales so far, and the boxes load forever:

726e72132ee258c717ea07dd0eaec67d

Inspector's console shows:

VM314:1 Uncaught SyntaxError: Unexpected end of JSON input

I traced this in the minified .js file here:

b.batch2response=function(f){var h=JSON.parse(f);

I don't know what the intended behaviour should be, but never loading issue doesn't seem to be the correct approach. Maybe a "No data yet" message or something similar.

scottopolis commented 7 years ago

The loading is just an image, it isn't actually loading a request for that long. There shouldn't be an error though, let me see what I can find.

wolffe commented 7 years ago

I know it's just an image, but it should disappear or be replaced by a blank image. Looks good, anyway, thank you.