return if lecical_cast fails
This commit is contained in:
parent
06675305ba
commit
2cc0030e17
|
@ -887,8 +887,8 @@ namespace xmreg {
|
|||
|
||||
}
|
||||
catch(boost::bad_lexical_cast &e)
|
||||
{
|
||||
cerr << search_text << " is not a number" << endl;
|
||||
{
|
||||
return result_html;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue