init: print label on "no route to service" warning

It can be hard to interpret "no route to service" warnings if Init doesn't
print the session label
This commit is contained in:
Martin Stein 2018-11-04 17:11:19 +01:00 committed by Norman Feske
parent 79ca4e1718
commit 858a7823fb
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ Init::Child::Route Init::Child::resolve_session_request(Service::Name const &ser
}
} catch (Xml_node::Nonexistent_sub_node) { }
warning(name(), ": no route to service \"", service_name, "\"");
warning(name(), ": no route to service \"", service_name, "\" (label=\"", label, "\")");
throw Service_denied();
}