diff --git a/Changelog b/Changelog index 13de41015d0c8a9af924e6eb569a17d5385327dd..fb8bdf17829c39f936f4639e6c50f7bb1673a2af 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,7 @@ +Travel::Routing::DE::HAFAS 0.09 - Wed Nov 20 2024 + + * Improve handling of backend messages and errors + Travel::Routing::DE::HAFAS 0.08 - Tue Jun 11 2024 * Adjust walking connection segment handling for DB HAFAS update on diff --git a/bin/hafas b/bin/hafas index 5c57d3e0b45c0e1fb16499cf888a5fdbc7843bca..4b4f5239b6f28102900b55d36875287d73f5230b 100755 --- a/bin/hafas +++ b/bin/hafas @@ -3,7 +3,7 @@ use strict; use warnings; use 5.014; -our $VERSION = '0.08'; +our $VERSION = '0.09'; use utf8; use DateTime; @@ -291,7 +291,7 @@ sub show_message { } if ( my $err = $hafas->errstr ) { - say STDERR "Request error: ${err}"; + say STDERR "Backend error: ${err}"; if ( $hafas->errcode ) { if ( $hafas->errcode eq 'H730' or $hafas->errcode eq 'LOCATION' ) { show_similar_stops(); @@ -498,7 +498,7 @@ B [B<-d> I] [B<-t> I