extiverse / bazaar

The extension marketplace for your Flarum forum.
https://discuss.flarum.org/d/5151
MIT License
59 stars 14 forks source link

When flagrow.io runs into an exception, we simply get an empty list of extensions #65

Open clarkwinkelmann opened 7 years ago

clarkwinkelmann commented 7 years ago

The reason is that data defaults to [] in ExtensionRepository and we never check the http code.

Expected behaviour:

The Bazaar UI displays an error and don't cache the result

Actual behaviour:

The 500 errors are cached and the UI simply displays an empty list of extension.

luceos commented 7 years ago

We should at least test the status code returned..