mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
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:
committed by
Christian Helmuth
parent
7df4497e72
commit
433fc6a7f1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user