summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-01-08 18:50:38 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-01-08 18:50:38 +0100
commitba4f2c1923207a12d817f765d60811e538fd86c4 (patch)
tree423eed2e29bfa45759befac91cb91283eba66974
parent35660567614dea8d4572bcfe5bb1890504be0c20 (diff)
503 backend errors (hello, DB HAFAS) are Bad Gateway as well
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index f61d83d..54eb12b 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -1131,7 +1131,7 @@ sub station {
}
)->wait;
}
- elsif ( $err =~ m{svcRes|connection close} ) {
+ elsif ( $err =~ m{svcRes|connection close|Service Temporarily Unavailable} ) {
$self->render(
'bad_gateway',
message => $err,