Commit e001308c authored by Cinder's avatar Cinder
Browse files

Catch it all, idgaf

parent ed7043cd
...@@ -2203,20 +2203,14 @@ static bool parse_lure_bucket(const std::string& bucket, ...@@ -2203,20 +2203,14 @@ static bool parse_lure_bucket(const std::string& bucket,
ly = std::stoi(*(++iter)); ly = std::stoi(*(++iter));
lz = std::stoi(*(++iter)); lz = std::stoi(*(++iter));
} }
catch( const std::invalid_argument& ) catch (...)
{
LL_WARNS("parse_lure_bucket")
<< "Couldn't parse lure bucket."
<< LL_ENDL;
return false;
}
catch( const std::out_of_range& )
{ {
LL_WARNS("parse_lure_bucket") LL_WARNS("parse_lure_bucket")
<< "Couldn't parse lure bucket." << "Couldn't parse lure bucket."
<< LL_ENDL; << LL_ENDL;
return false; return false;
} }
// Grab region access // Grab region access
region_access = SIM_ACCESS_MIN; region_access = SIM_ACCESS_MIN;
if (++iter != tokens.end()) if (++iter != tokens.end())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment