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,
ly = std::stoi(*(++iter));
lz = std::stoi(*(++iter));
}
catch( const std::invalid_argument& )
{
LL_WARNS("parse_lure_bucket")
<< "Couldn't parse lure bucket."
<< LL_ENDL;
return false;
}
catch( const std::out_of_range& )
catch (...)
{
LL_WARNS("parse_lure_bucket")
<< "Couldn't parse lure bucket."
<< LL_ENDL;
return false;
}
// Grab region access
region_access = SIM_ACCESS_MIN;
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