Fix #1783: repeated error message on console
This downgrades the "file not found" message to a warning.
This commit is contained in:
@@ -849,7 +849,7 @@ std::string SGPath::realpath() const
|
|||||||
#endif
|
#endif
|
||||||
if (!buf)
|
if (!buf)
|
||||||
{
|
{
|
||||||
SG_LOG(SG_IO, SG_ALERT, "ERROR: The path '" << path << "' does not exist in the file system.");
|
SG_LOG(SG_IO, SG_WARN, "ERROR: The path '" << path << "' does not exist in the file system.");
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
std::string p(buf);
|
std::string p(buf);
|
||||||
|
|||||||
Reference in New Issue
Block a user