return if lecical_cast fails

This commit is contained in:
moneroexamples 2016-04-24 12:18:31 +08:00
parent 06675305ba
commit 2cc0030e17

View file

@ -888,7 +888,7 @@ namespace xmreg {
} }
catch(boost::bad_lexical_cast &e) catch(boost::bad_lexical_cast &e)
{ {
cerr << search_text << " is not a number" << endl; return result_html;
} }
} }