Loading lib/Travelynx/Controller/Traveling.pm +7 −0 Original line number Diff line number Diff line Loading @@ -1136,6 +1136,13 @@ sub station { status => 502 ); } elsif ( $err =~ m{timeout}i ) { $self->render( 'gateway_timeout', message => $err, status => 504 ); } else { $self->render( 'exception', Loading templates/gateway_timeout.html.ep 0 → 100644 +22 −0 Original line number Diff line number Diff line <div class="row"> <div class="col s12"> <div class="card caution-color"> <div class="card-content white-text"> <span class="card-title">504 Gateway Timeout</span> <p> Das von travelynx genutzte Backend hat nicht rechtzeitig reagiert. travelynx hat keine Möglichkeiten, diese Situation zu beheben. Vrsuche es in ein paar Sekunden bis Minuten noch einmal. </p> </div> </div> </div> </div> <div class="row"> <div class="col s12"> <p>Details:</p> <p style="font-family: monospace;"> %= $message </p> </div> </div> Loading
lib/Travelynx/Controller/Traveling.pm +7 −0 Original line number Diff line number Diff line Loading @@ -1136,6 +1136,13 @@ sub station { status => 502 ); } elsif ( $err =~ m{timeout}i ) { $self->render( 'gateway_timeout', message => $err, status => 504 ); } else { $self->render( 'exception', Loading
templates/gateway_timeout.html.ep 0 → 100644 +22 −0 Original line number Diff line number Diff line <div class="row"> <div class="col s12"> <div class="card caution-color"> <div class="card-content white-text"> <span class="card-title">504 Gateway Timeout</span> <p> Das von travelynx genutzte Backend hat nicht rechtzeitig reagiert. travelynx hat keine Möglichkeiten, diese Situation zu beheben. Vrsuche es in ein paar Sekunden bis Minuten noch einmal. </p> </div> </div> </div> </div> <div class="row"> <div class="col s12"> <p>Details:</p> <p style="font-family: monospace;"> %= $message </p> </div> </div>