Commit a7c37ef1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1e467c19
...@@ -137,7 +137,10 @@ static error _pathError(const char *op, const string &path, int syserr) { ...@@ -137,7 +137,10 @@ static error _pathError(const char *op, const string &path, int syserr) {
printf("PATH: '%s'\n", path.c_str()); printf("PATH: '%s'\n", path.c_str());
printf("ESTR: '%s'\n", estr); printf("ESTR: '%s'\n", estr);
return fmt::errorf("%s %s: %s", op, path.c_str(), estr); //return fmt::errorf("%s %s: %s", op, path.c_str(), estr);
error err = fmt::errorf("%s %s: %s", op, path.c_str(), estr);
printf("ERR: '%s'\n", err->Error().c_str());
return err;
} }
} // os:: } // os::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment