base: let 'Local_service' catch all exceptions

This patch eases the debugging of situations where a session-object
constructor wrongly throws an exception type not specified in the
'Local_service::Factory' interface.
This commit is contained in:
Norman Feske 2017-05-10 15:30:58 +02:00 committed by Christian Helmuth
parent 7df4497e72
commit 433fc6a7f1

View File

@ -190,6 +190,9 @@ class Genode::Local_service : public Service
session.phase = Session_state::INSUFFICIENT_CAP_QUOTA; }
catch (Insufficient_ram_quota) {
session.phase = Session_state::INSUFFICIENT_RAM_QUOTA; }
catch (...) {
warning("unexpected exception during ",
SESSION::service_name(), " session construction"); }
break;