face: cleanup log messages in all faces and print fail reason
Change-Id: I405198b375a0317663d29810ee87922a19edccaa
Refs: #2450
diff --git a/daemon/fw/face-table.hpp b/daemon/fw/face-table.hpp
index 435999e..67c7932 100644
--- a/daemon/fw/face-table.hpp
+++ b/daemon/fw/face-table.hpp
@@ -87,10 +87,10 @@
void
addImpl(shared_ptr<Face> face, FaceId faceId);
- // remove is private because it's a subscriber of face.onFail event.
- // face->close() closes a face and triggers .remove(face)
+ // remove is private because it's a handler of face.onFail signal.
+ // face->close() closes the face and triggers .remove()
void
- remove(shared_ptr<Face> face);
+ remove(shared_ptr<Face> face, const std::string& reason);
ForwardRange
getForwardRange() const;