Fix error log message for rename(2) workaround

Change-Id: I36e8bf415a767078e9c5e8fa0c93d608711d8882
This commit is contained in:
Han Wang
2022-09-04 08:06:49 +00:00
parent 4b50dd4f0e
commit b18b1084b3

View File

@@ -7836,7 +7836,7 @@ public final class ActivityThread extends ClientTransactionHandler
Files.move(new File(oldPath).toPath(), new File(newPath).toPath(),
StandardCopyOption.REPLACE_EXISTING);
} catch (IOException e2) {
Log.e(TAG, "Rename recovery failed ", e);
Log.e(TAG, "Rename recovery failed ", e2);
throw e;
}
} else {