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

Commit e210ca9e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add context to error message." am: 07547144 am: 82e2afb2

parents 39709e6b 82e2afb2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -349,7 +349,7 @@ Maybe<std::vector<std::string>> FindFiles(const android::StringPiece& path, IDia
  const std::string root_dir = path.to_string();
  std::unique_ptr<DIR, decltype(closedir)*> d(opendir(root_dir.data()), closedir);
  if (!d) {
    diag->Error(DiagMessage() << SystemErrorCodeToString(errno));
    diag->Error(DiagMessage() << SystemErrorCodeToString(errno) << ": " << root_dir);
    return {};
  }