mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 11:16:57 +00: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:
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user