Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b631cf70 authored by Daniel Zheng's avatar Daniel Zheng Committed by Gerrit Code Review
Browse files

Merge "libsnapshot: update write error logs" into main

parents babf5975 c542da26
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -731,7 +731,8 @@ bool CowWriterV3::WriteOperation(std::span<const CowOperationV3> ops,
            i += chunk;
        }
        if (total_written != total_data_size) {
            PLOG(ERROR) << "write failed for data of size: " << data.size()
            PLOG(ERROR) << "write failed for data vector of size: " << data.size()
                        << " and total data length: " << total_data_size
                        << " at offset: " << next_data_pos_ << " " << errno
                        << ", only wrote: " << total_written;
            return false;