From 6e8596639542c88f9f780f5dd8826ddbc597e52d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 1 May 2018 09:10:48 +0200 Subject: Save problematic place/name in Setup Exception and forward it to the user --- bin/efa | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/efa b/bin/efa index 03d99c7..53d5398 100755 --- a/bin/efa +++ b/bin/efa @@ -85,8 +85,9 @@ sub handle_efa_exception { if ( $e->isa('Travel::Routing::DE::EFA::Exception::Setup') ) { if ( $e->message ) { printf STDERR ( - "User error: %s (option '%s'): %s\n", - $e->description, $e->option, $e->message + "User error: %s (option '%s'): %s%s\n", + $e->description, $e->option, $e->message, + $e->have ? q{ "} . $e->have . q{"} : q{}, ); } else { -- cgit v1.2.3