Skip to content

Commit

Permalink
Add Forbidden to 502 Bad Gateway codes
Browse files Browse the repository at this point in the history
  • Loading branch information
derf committed Mar 3, 2025
1 parent f35253f commit be8e303
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Travelynx/Controller/Traveling.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,8 @@ sub station {
)->wait;
}
elsif ( $err
=~ m{svcRes|connection close|Service Temporarily Unavailable} )
=~ m{svcRes|connection close|Service Temporarily Unavailable|Forbidden}
)
{
$self->render(
'bad_gateway',
Expand Down

0 comments on commit be8e303

Please sign in to comment.