Fix #1783: repeated error message on console
This downgrades the "file not found" message to a warning.
This commit is contained in:
parent
c7a60d4dc4
commit
b7c7f66bf3
@ -849,7 +849,7 @@ std::string SGPath::realpath() const
|
||||
#endif
|
||||
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;
|
||||
}
|
||||
std::string p(buf);
|
||||
|
Loading…
Reference in New Issue
Block a user