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

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

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

parents 4cd99146 07547144
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 {};
  }