Skip to content

Commit

Permalink
Log socket error with lower priority
Browse files Browse the repository at this point in the history
  • Loading branch information
lamyj committed Jan 18, 2018
1 parent 9d6ac58 commit 36d5195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/odil/dul/Transport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ ::close()
// Only used to prevent uncatchable error on WIN32 platforms and in wrappers.
catch(std::exception & e)
{
ODIL_LOG(WARN) << "Could not shut down transport: " << e.what();
ODIL_LOG(DEBUG) << "Could not shut down transport: " << e.what();
}
catch(...)
{
ODIL_LOG(WARN) << "Could not shut down transport (unknown exception)";
ODIL_LOG(DEBUG) << "Could not shut down transport (unknown exception)";
}
this->_socket->close();
this->_socket = nullptr;
Expand Down

0 comments on commit 36d5195

Please sign in to comment.