[Issue#] Unhandled return value.
[Bug] N/A
[Cause] N/A
[Solution] Logging on error.
[Verification] Build installer
Change-Id: I402f083cfd1dccc557a671ac621a6c746572ff62
WidgetLocation::DirectoryDeletor::~DirectoryDeletor()
{
LogDebug("Removing widget installation temporary directory: " << m_dirpath.c_str());
- WrtUtilRemove(m_dirpath);
+ if(!WrtUtilRemove(m_dirpath)){
+ LogDebug("Fail at removing directory: " << m_dirpath.c_str());
+ }
}
std::string WidgetLocation::DirectoryDeletor::getTempPath() const