- Issue created by @fjgarlin
I made a test while working on 📌 Use the production URL for Drupal.org endpoint Fixed to test what would happen if the endpoint goes down. Nothing happens on the front-end, it just displays 0 results. On the backend, an error to the watchdog is added.
Maybe we can inform the users that this is not a "there is no data" situation, but a "something is wrong" situation.
Change the endpoint for a non-existent URL (to simulate the endpoint not being reachable), clear caches and use Project Browser.
Add some degree of information to tell the two situations apart.
I made a test on the other issue in this commit: https://git.drupalcode.org/issue/project_browser-3462173/-/commit/e0153c...
The idea is that totalResults could be set to -1 in these cases and we could display something in the front end. As that was opinionated and did not change styles to convey an error, I decided to revert the commit and create this follow up issue.
Active
2.0
Code