return if lecical_cast fails

master
moneroexamples 9 years ago
parent 06675305ba
commit 2cc0030e17

@ -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;
} }
} }

Loading…
Cancel
Save