- }
- if (!DPL::Utils::TryRemove(m_context.manifestFile)) {
- _W("No manifest file found: %s", m_context.manifestFile.Fullpath().c_str());
- } else {
- _D("Manifest file removed: %s", m_context.manifestFile.Fullpath().c_str());
+ if (bf::remove_all(bf::path(m_context.manifestFile))) {
+ _D("Manifest file removed: %s", m_context.manifestFile.c_str());
+ } else {
+ _W("No manifest file found: %s", m_context.manifestFile.c_str());
+ }
+ } catch (const bf::filesystem_error& ex) {
+ _E("boost::filesystem::error: %s", ex.what());