summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth_productengine <none@none>2011-05-17 20:22:46 +0300
committerseth_productengine <none@none>2011-05-17 20:22:46 +0300
commit01e98f535eab4b8df6b029780d472da778ad4acb (patch)
tree53d595bcb3d675a06a47957a2bf35611a6af8d89
parent9aef66cfcc21400bbe3cc40386ec3a37a75054c4 (diff)
STORM-1260 FIXED Replaced llerrs messages with llwarns in directory iterator code to avoid viewer halt when a cache dir is not found.
-rw-r--r--indra/llvfs/lldiriterator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llvfs/lldiriterator.cpp b/indra/llvfs/lldiriterator.cpp
index 5536ed8f69..041436ed92 100644
--- a/indra/llvfs/lldiriterator.cpp
+++ b/indra/llvfs/lldiriterator.cpp
@@ -55,7 +55,7 @@ LLDirIterator::Impl::Impl(const std::string &dirname, const std::string &mask)
// Check if path exists.
if (!fs::exists(dir_path))
{
- llerrs << "Invalid path: \"" << dir_path.string() << "\"" << llendl;
+ llwarns << "Invalid path: \"" << dir_path.string() << "\"" << llendl;
return;
}
@@ -100,7 +100,7 @@ bool LLDirIterator::Impl::next(std::string &fname)
if (!mIsValid)
{
- llerrs << "The iterator is not correctly initialized." << llendl;
+ llwarns << "The iterator is not correctly initialized." << llendl;
return false;
}