docs: def set_sentry_context(self, tag, value):
          """Set a context tag in Sentry for the given key and value.
  
          :param tag: The context tag name
          :type tag: :class:`str`
          :param value: The context value
          :type value: :class:`str`
  
          """
          if self.sentry_client:
              self.logger.debug('Setting sentry context for %s to %s', tag,
                                value)
              self.sentry_client.tags_context({tag: value})