Skip to content

Commit f836684

Browse files
committed
log more stuff
1 parent bb043b2 commit f836684

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Modules/_ssl.c

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6851,9 +6851,10 @@ py_ht_errcode_to_name_create(void) {
68516851
continue;
68526852
}
68536853
PyErr_Format(PyExc_SystemError,
6854-
"SSL data contains incompatible entries for (%d, %d). "
6855-
"Old mnemonic is %S while new mnemonic is %s",
6856-
p->library, p->reason, prev, p->mnemonic);
6854+
"SSL data contains incompatible entries for "
6855+
"(%d, %d; %p, %ld). Old mnemonic is %S but "
6856+
"new mnemonic is %s",
6857+
p->library, p->reason, key, code, prev, p->mnemonic);
68576858
goto error;
68586859
}
68596860
PyObject *value = PyUnicode_FromString(p->mnemonic);
@@ -6903,9 +6904,10 @@ py_ht_libcode_to_name_create(void) {
69036904
continue;
69046905
}
69056906
PyErr_Format(PyExc_SystemError,
6906-
"SSL data contains incompatible entries for %d. "
6907-
"Old library is %S while new library is %s.",
6908-
p->code, prev, p->library);
6907+
"SSL data contains incompatible entries for "
6908+
"(%p; %d). Old library is %S but new library "
6909+
"is %s.",
6910+
key, p->code, prev, p->library);
69096911
goto error;
69106912
}
69116913
PyObject *value = PyUnicode_FromString(p->library);

0 commit comments

Comments
 (0)