diff --git a/repos/base/include/root/component.h b/repos/base/include/root/component.h index 7bf58d3fcb..d3041cf4e9 100644 --- a/repos/base/include/root/component.h +++ b/repos/base/include/root/component.h @@ -155,7 +155,10 @@ class Genode::Root_component : public Rpc_object >, SESSION_TYPE *s = 0; try { s = _create_session(adjusted_args, affinity); } - catch (Allocator::Out_of_memory) { throw Root::Unavailable(); } + catch (Allocator::Out_of_memory) { + error("out of memory for session creation, '", args, "'"); + throw Root::Unavailable(); + } _ep->manage(s);