diff options
author | seth_productengine <none@none> | 2011-05-17 20:22:46 +0300 |
---|---|---|
committer | seth_productengine <none@none> | 2011-05-17 20:22:46 +0300 |
commit | 32313dd3c6396324ea8f13285a69c01f38fe1cfc (patch) | |
tree | 38a84a2941ce62a5a216f5692ad63a1c03d6e32b /indra/llvfs/lldiriterator.cpp | |
parent | 113f532ee57eeeca4dc7eb6ca05f923f1f3543d3 (diff) |
STORM-1260 FIXED Replaced llerrs messages with llwarns in directory iterator code to avoid viewer halt when a cache dir is not found.
Diffstat (limited to 'indra/llvfs/lldiriterator.cpp')
-rw-r--r-- | indra/llvfs/lldiriterator.cpp | 4 |
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; } |