diff --git a/eden/fs/inodes/FileInode.cpp b/eden/fs/inodes/FileInode.cpp index 35a8c7a06a..220929de71 100644 --- a/eden/fs/inodes/FileInode.cpp +++ b/eden/fs/inodes/FileInode.cpp @@ -534,9 +534,7 @@ folly::Future FileInode::isSameAsSlow( return getSha1(fetchContext) .thenTry([expectedBlobSha1](folly::Try&& try_) { if (try_.hasException()) { - XLOG(DBG2) << "Assuming changed: " - << folly::exceptionStr( - try_.tryGetExceptionObject()); + XLOG(DBG2) << "Assuming changed: " << try_.exception(); return false; } else { return try_.value() == expectedBlobSha1; @@ -584,9 +582,7 @@ folly::Future FileInode::isSameAs( return folly::collectUnsafe(f1, f2).thenTry( [](folly::Try>&& try_) { if (try_.hasException()) { - XLOG(DBG2) << "Assuming changed: " - << folly::exceptionStr( - try_.tryGetExceptionObject()); + XLOG(DBG2) << "Assuming changed: " << try_.exception(); return false; } else { auto hashes = std::move(try_).value();