From 380e7e53f703cb360f6bc2af7a706142de8cacb2 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 20 Nov 2024 19:45:39 +0100 Subject: Release v0.09 --- Changelog | 4 ++++ bin/hafas | 6 +++--- lib/Travel/Routing/DE/HAFAS.pm | 4 ++-- lib/Travel/Routing/DE/HAFAS/Connection.pm | 4 ++-- lib/Travel/Routing/DE/HAFAS/Connection/Section.pm | 4 ++-- lib/Travel/Routing/DE/HAFAS/Utils.pm | 4 ++-- 6 files changed, 15 insertions(+), 11 deletions(-) diff --git a/Changelog b/Changelog index 13de410..fb8bdf1 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 5c57d3e..4b4f523 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