#510 - call HTTPServer::Stop on exception

This commit is contained in:
R4SAS 2019-05-17 14:23:28 +03:00
parent d49dde7c5e
commit 7c7742a175

View file

@ -1092,6 +1092,7 @@ namespace http {
Accept ();
} catch (std::exception& ex) {
LogPrint (eLogError, "HTTPServer: failed to start webconsole: ", ex.what ());
Stop ();
}
}