Skip to content

Conversation

@rollerbrick
Copy link

When using CustomerIO with use_connection_pooling set to False the following error is occasionally produced. This PR changes use_connection_pooling (False) so it doesn't use self._current_session.

Traceback (most recent call last):
  ...
  File "...customerio/track.py", line 72, in identify
    self.send_request('PUT', url, kwargs)
  File "...customerio/client_base.py", line 55, in send_request
    self._close()
  File "...customerio/client_base.py", line 112, in _close
    self._current_session.close()
AttributeError: 'NoneType' object has no attribute 'close'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant