diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 18:46:42 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 18:46:42 +0000 |
commit | 3e02ccda48ce61dbbfddf5067606ded225511d1c (patch) | |
tree | 4399aa7189f1c077b3fa5ae7d4c48e59d2a5c9d9 /chrome/installer/util/installer_state.cc | |
parent | 4bc5eeee5daa04d07888992da39157b0c25a10e3 (diff) | |
download | chromium_src-3e02ccda48ce61dbbfddf5067606ded225511d1c.zip chromium_src-3e02ccda48ce61dbbfddf5067606ded225511d1c.tar.gz chromium_src-3e02ccda48ce61dbbfddf5067606ded225511d1c.tar.bz2 |
Add additional logging for when we fail to clean up old version directories.
BUG=75951
TEST=NONE
Review URL: http://codereview.chromium.org/6982002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/installer_state.cc')
-rw-r--r-- | chrome/installer/util/installer_state.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/installer/util/installer_state.cc b/chrome/installer/util/installer_state.cc index 8aa1d26..10b055d 100644 --- a/chrome/installer/util/installer_state.cc +++ b/chrome/installer/util/installer_state.cc @@ -431,8 +431,11 @@ void InstallerState::RemoveOldVersionDirectories( scoped_ptr<WorkItem> item( WorkItem::CreateDeleteTreeWorkItem(next_version, temp_path, key_files)); - if (!item->Do()) + if (!item->Do()) { + LOG(ERROR) << "Failed to delete old version directory: " + << next_version.value(); item->Rollback(); + } } } |