can you just put "LOG(ERROR) << " here in that case? You have it already in other places in this method. And than you can pass only a boolean via ipc. how about that?