usb-dbg: Handled error for host selector position
Added error handling for host selector position
and enhancement.
Tested on Yosemitev2
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Change-Id: Iac9414ccc282bd3e24b6434f0ae57dac586659a6
diff --git a/include/usb-dbg.hpp b/include/usb-dbg.hpp
index a927242..dce82e5 100644
--- a/include/usb-dbg.hpp
+++ b/include/usb-dbg.hpp
@@ -23,6 +23,7 @@
#include <ipmid/api.hpp>
#include <nlohmann/json.hpp>
#include <phosphor-logging/log.hpp>
+#include <phosphor-logging/lg2.hpp>
#include <sdbusplus/asio/connection.hpp>
#include <sdbusplus/asio/property.hpp>
#include <ipmid/utils.hpp>