直接打印SockException类

This commit is contained in:
xiongziliang
2023-04-23 00:10:18 +08:00
parent de8249592e
commit c8a20f85f6
15 changed files with 17 additions and 20 deletions

View File

@@ -1054,7 +1054,7 @@ void WebRtcTransportImp::onBeforeEncryptRtp(const char *buf, int &len, void *ctx
}
void WebRtcTransportImp::onShutdown(const SockException &ex) {
WarnL << ex.what();
WarnL << ex;
unrefSelf();
for (auto &tuple : _ice_server->GetTuples()) {
tuple->shutdown(ex);