mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
#510 - call HTTPServer::Stop on exception
This commit is contained in:
parent
d49dde7c5e
commit
7c7742a175
1 changed files with 1 additions and 0 deletions
|
@ -1092,6 +1092,7 @@ namespace http {
|
|||
Accept ();
|
||||
} catch (std::exception& ex) {
|
||||
LogPrint (eLogError, "HTTPServer: failed to start webconsole: ", ex.what ());
|
||||
Stop ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue