Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Sep 27, 2024
1 parent 0f40295 commit ad34c1a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
PyObject *py_field = \
PyDict_GetItemWithError(py_policy, py_field_name); \
if (py_field == NULL && PyErr_Occurred()) { \
PyErr_Clear(); \
PyErr_PrintEx(); \
Py_DECREF(py_field_name); \
return as_error_update( \
err, AEROSPIKE_ERR_CLIENT, \
Expand Down Expand Up @@ -102,8 +102,7 @@
PyObject *py_exp_list = \
PyDict_GetItemWithError(py_policy, py_field_name); \
if (py_exp_list == NULL && PyErr_Occurred()) { \
PyErr_Clear(); \
Py_DECREF(py_field_name); \
PyErr_PrintEx(py_field_name); \
return as_error_update( \
err, AEROSPIKE_ERR_CLIENT, \
"Unable to fetch field from policy dictionary"); \
Expand Down

0 comments on commit ad34c1a

Please sign in to comment.