Skip to content
Snippets Groups Projects
Commit 01e98f53 authored by seth_productengine's avatar seth_productengine
Browse files

STORM-1260 FIXED Replaced llerrs messages with llwarns in directory iterator...

STORM-1260 FIXED Replaced llerrs messages with llwarns in directory iterator code to avoid viewer halt when a cache dir is not found.
parent 9aef66cf
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ LLDirIterator::Impl::Impl(const std::string &dirname, const std::string &mask) ...@@ -55,7 +55,7 @@ LLDirIterator::Impl::Impl(const std::string &dirname, const std::string &mask)
// Check if path exists. // Check if path exists.
if (!fs::exists(dir_path)) if (!fs::exists(dir_path))
{ {
llerrs << "Invalid path: \"" << dir_path.string() << "\"" << llendl; llwarns << "Invalid path: \"" << dir_path.string() << "\"" << llendl;
return; return;
} }
...@@ -100,7 +100,7 @@ bool LLDirIterator::Impl::next(std::string &fname) ...@@ -100,7 +100,7 @@ bool LLDirIterator::Impl::next(std::string &fname)
if (!mIsValid) if (!mIsValid)
{ {
llerrs << "The iterator is not correctly initialized." << llendl; llwarns << "The iterator is not correctly initialized." << llendl;
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment