summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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') ) {