Skip to content

Commit 41d7b85

Browse files
committed
raise py error right
1 parent b5e8f4b commit 41d7b85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ static int s_py_logger_log(
100100
PyGILState_Release(state);
101101
aws_string_destroy(thread_name_str);
102102
aws_mem_release(logger->allocator, buf);
103-
return aws_py_raise_error(AWS_ERROR_CRT_CALLBACK_EXCEPTION);
103+
return aws_py_raise_error();
104104
}
105105

106106
PyGILState_Release(state);

0 commit comments

Comments
 (0)