mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 23:56:43 +02:00
Log exception on streamServer::start()
This commit is contained in:
parent
b64ae2f4c3
commit
879507c7e3
1 changed files with 2 additions and 1 deletions
|
@ -379,8 +379,9 @@ void StreamServer::start()
|
|||
acceptor_ = make_shared<tcp::acceptor>(*io_service_, tcp::endpoint(tcp::v4(), settings_.port));
|
||||
startAccept();
|
||||
}
|
||||
catch (const std::exception&)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
logS(kLogNotice) << "StreamServer::start: " << e.what() << endl;
|
||||
stop();
|
||||
throw;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue