diff --git a/Changelog b/Changelog index 5321431a82f9af3a3e364abc5dd64aed65e71d95..36c6264c3c84e65fe6e63eb44cac11bed1cfb260 100644 --- a/Changelog +++ b/Changelog @@ -3,6 +3,9 @@ git HEAD * Documentation fixes (in a few places, the module was prefixed Travel::Status instead of the correct Travel::Routing) + [efa] + * Fix connection error handler + Travel::Routing::DE::VRR 1.04 - Wed Jun 29 2011 * efa: Remove --foo-type options, use --to city type:stop etc. instead diff --git a/bin/efa b/bin/efa index 48b875ecbd2c7e76a4d569d50be4f235f67323c2..7263b2d34d8528b6c96280098cd7f4afb08a4276 100755 --- a/bin/efa +++ b/bin/efa @@ -56,7 +56,7 @@ sub handle_efa_exception { } if ( $e->isa('Travel::Routing::DE::VRR::Exception::Net') ) { printf STDERR ( "Error: %s: %s\n", $e->description, - $e->http_errstr->as_string ); + $e->http_response->as_string ); exit 2; } if ( $e->isa('Travel::Routing::DE::VRR::Exception::NoData') ) {