Fix #1783: repeated error message on console

This downgrades the "file not found" message to a warning.
This commit is contained in:
Torsten Dreyer 2015-08-05 09:26:46 +02:00
parent c7a60d4dc4
commit b7c7f66bf3

View File

@ -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);