From 3e02ccda48ce61dbbfddf5067606ded225511d1c Mon Sep 17 00:00:00 2001 From: "robertshield@chromium.org" Date: Wed, 11 May 2011 18:46:42 +0000 Subject: 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 --- chrome/installer/util/installer_state.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chrome/installer/util/installer_state.cc') 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 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(); + } } } -- cgit v1.1