diff --git a/base/include/base/ipc.h b/base/include/base/ipc.h index 7a06d34a7..a495f2ee3 100644 --- a/base/include/base/ipc.h +++ b/base/include/base/ipc.h @@ -447,10 +447,8 @@ namespace Genode { { _call(); _read_from_buf(_result); - if (_result == ERR_INVALID_OBJECT) { - PERR("tried to call an invalid object"); + if (_result == ERR_INVALID_OBJECT) throw Ipc_error(); - } return *this; }