DB-Verbindungsfehler als 500 ausliefern statt roher PDO-Meldung mit HTTP 200

This commit is contained in:
torsten 2026-10-31 11:47:47 +01:00
parent 2ae15e0856
commit 3d72278e10
4 changed files with 15 additions and 11 deletions

View file

@ -431,8 +431,6 @@ def smoke_test(app_url):
text = body.decode("utf-8", "replace")
if status != 200:
failures.append("App: HTTP %d" % status)
elif "Datenbankverbindung fehlgeschlagen" in text:
failures.append("App: DB-Verbindung fehlgeschlagen")
elif "page=login" not in text:
failures.append("App: Login-Seite nicht erkannt")
else: