Commit d9c788b8 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

efa: Fix Travel::Routing::DE::VRR::Exception::Net handler

parent 2db77007
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3,6 +3,9 @@ git HEAD
    * Documentation fixes (in a few places, the module was prefixed
      Travel::Status instead of the correct Travel::Routing)

    [efa]
    * Fix connection error handler

Travel::Routing::DE::VRR 1.04 - Wed Jun 29 2011

    * efa: Remove --foo-type options, use --to city type:stop etc. instead
+1 −1
Original line number Diff line number Diff line
@@ -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') ) {