Skip to content

Commit

Permalink
update debug to error
Browse files Browse the repository at this point in the history
  • Loading branch information
asakapab0i committed Dec 28, 2023
1 parent 0ab389f commit 7ef4e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_python3/rlm_python3.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ static int mod_populate_vptuple(PyObject *pPair, VALUE_PAIR *vp, bool utf8_fail_
if (PyErr_ExceptionMatches(PyExc_UnicodeDecodeError)) {
PyErr_Clear();
if (utf8_fail_as_bytes) {
DEBUG("Conversion to Unicode failed, returning %s as bytes", vp->da->name);
ERROR("Conversion to Unicode failed, returning %s as bytes", vp->da->name);
pStr = PyBytes_FromString(buf);
if (pStr == NULL) {
ERROR("%s:%d, vp->da->name: %s", __func__, __LINE__, vp->da->name);
Expand Down

0 comments on commit 7ef4e54

Please sign in to comment.