diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-07-06 18:11:49 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-07-06 18:11:49 +0200 |
commit | d9c788b8031df0b3fbf87a31b1db330a67e3a664 (patch) | |
tree | 3eb02a01701bbd2d47767d235db580549ce6f202 | |
parent | 2db77007739299a08968357961e070400c38ee03 (diff) |
efa: Fix Travel::Routing::DE::VRR::Exception::Net handler
-rw-r--r-- | Changelog | 3 | ||||
-rwxr-xr-x | bin/efa | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 @@ -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') ) { |