summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-06-28 19:45:13 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-06-28 19:45:13 +0200
commit7615088320ac1987ee7eaeeef6c81e68f3c549c0 (patch)
tree4c1754422aab1b7e7f19a2892730f65e9972595f /bin
parentc1c3afa66bf6e2ad0b1a1731c057f10468605468 (diff)
VRR.pm: Add Travel::Routing::DE::VRR::Exception base class
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/efa b/bin/efa
index b11018b..c916ca0 100755
--- a/bin/efa
+++ b/bin/efa
@@ -72,8 +72,9 @@ sub check_for_error {
my ($eval_error) = @_;
if ( not defined $efa ) {
- if ( $eval_error
- and ref($eval_error) =~ m{^Travel::Routing::DE::VRR::Exception}x )
+ if ( $eval_error
+ and ref($eval_error)
+ and $eval_error->isa('Travel::Routing::DE::VRR::Exception') )
{
handle_efa_exception($eval_error);
}