summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/efa b/bin/efa
index 287ef18..5982c12 100755
--- a/bin/efa
+++ b/bin/efa
@@ -75,8 +75,8 @@ sub handle_efa_exception {
);
exit 4;
}
- if ( $e->isa('Travel::Routing::DE::VRR::Exception::NoConnections') ) {
- printf STDERR ( "Error: %s: %s\n", $e->description, $e->error );
+ if ( $e->isa('Travel::Routing::DE::VRR::Exception::Other') ) {
+ printf STDERR ( "Error: %s: %s\n", $e->description, $e->message );
exit 5;
}