mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
More verbose error handling for session routing.
This commit is contained in:
@@ -75,8 +75,10 @@ class Core::Core_child : public Child_policy
|
||||
if (!service && s.name() == name)
|
||||
service = &s; });
|
||||
|
||||
if (!service)
|
||||
if (!service) {
|
||||
Genode::error("Service ", name, " not found.");
|
||||
throw Service_denied();
|
||||
}
|
||||
|
||||
return Route { .service = *service,
|
||||
.label = label,
|
||||
|
||||
Reference in New Issue
Block a user