mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1293172: improve DTLS handshake error message. r=mt
MozReview-Commit-ID: GM28RvCQ3O4 --HG-- extra : rebase_source : 690ec762844950c7aff2f7382d48de67a7f5e786
This commit is contained in:
parent
4ab986dd19
commit
f8f35e1df4
@ -887,7 +887,9 @@ void TransportLayerDtls::Handshake() {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
MOZ_MTLOG(ML_ERROR, LAYER_INFO << "SSL handshake error "<< err);
|
||||
const char *err_msg = PR_ErrorToName(err);
|
||||
MOZ_MTLOG(ML_ERROR, LAYER_INFO << "DTLS handshake error " << err << " ("
|
||||
<< err_msg << ")");
|
||||
TL_SET_STATE(TS_ERROR);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user