Show friendly error page when a service is unavailable
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m21s

FragmentError now renders a 503 page naming which service is down
instead of a generic 500 error. Helps debug during deploys.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-25 14:23:47 +00:00
parent 507a5a66ff
commit 1ea9ae4050
2 changed files with 23 additions and 1 deletions

View File

@@ -2,7 +2,11 @@
{% block error_summary %}
<div>
WELL THIS IS EMBARASSING...
{% if service_name %}
The <b>{{ service_name }}</b> service is currently unavailable. It may be restarting.
{% else %}
WELL THIS IS EMBARASSING...
{% endif %}
</div>
{% endblock %}