summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-07-06 18:11:49 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-07-06 18:11:49 +0200
commitd9c788b8031df0b3fbf87a31b1db330a67e3a664 (patch)
tree3eb02a01701bbd2d47767d235db580549ce6f202 /bin/efa
parent2db77007739299a08968357961e070400c38ee03 (diff)
efa: Fix Travel::Routing::DE::VRR::Exception::Net handler
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index 48b875e..7263b2d 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') ) {