From d8d11dc7ebd405086930f7d4447e8b89a1e0aba4 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 18 Dec 2024 08:46:38 +0100 Subject: premature connection close is HTTP 502 as well --- lib/Travelynx/Controller/Traveling.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travelynx') diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index cf292bd..31cb550 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -1131,7 +1131,7 @@ sub station { } )->wait; } - elsif ( $err =~ m{svcRes} ) { + elsif ( $err =~ m{svcRes|connection close} ) { $self->render( 'bad_gateway', message => $err, -- cgit v1.2.3