diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-05-01 09:10:48 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-05-01 09:10:48 +0200 |
commit | 6e8596639542c88f9f780f5dd8826ddbc597e52d (patch) | |
tree | 94713550a876ce1540f0cf4d62fe3f4ba2d1f6b3 /bin | |
parent | 888007201606932cf6d98352fa5604606118b087 (diff) |
Save problematic place/name in Setup Exception and forward it to the user
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 { |