From 2e32089786746dcb11f10d6cfee51202abfe5407 Mon Sep 17 00:00:00 2001 From: Carl Pearson Date: Wed, 25 Sep 2019 09:36:19 -0500 Subject: [PATCH] improve reporting in detail/fs --- include/perfect/detail/fs.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/perfect/detail/fs.hpp b/include/perfect/detail/fs.hpp index dd40f7f..891d699 100644 --- a/include/perfect/detail/fs.hpp +++ b/include/perfect/detail/fs.hpp @@ -10,6 +10,7 @@ namespace detail { Result write_str(const std::string &path, const std::string &val) { std::ofstream ofs(path); if (ofs.fail()) { + std::cerr << "failed to open " << path << "\n"; return Result::NOT_SUPPORTED; }