analytics/extra/lib/plausible_web/controllers/api
hq1 4569ac09c1
Don't leak internal server errors, use support hash (#3661)
* Add Hahash dependency

* Don't leak internal server error details to the user

* Show the sinking shuttle notice whenever an API error occurs

* Don't render "No data yet" when there's a NetworkError for example

* Use ApiErrorNotice in funnels

* Display either hash or actual error message

The reason "internal-server-error" doesn't work well as a fallback
hash is that e.g. `NetworkError when attempting to fetch resource`
might be completely at client's fault. In such cases it's better
to display the whole thing still.

* Remove unused RocketIcon
2024-01-04 10:13:37 +01:00
..
external_sites_controller.ex Don't leak internal server errors, use support hash (#3661) 2024-01-04 10:13:37 +01:00
revenue.ex Small build updates (#3546) 2023-11-22 15:34:47 +01:00