Skip to content

subscriber: unhandled exception in json.loads #5

Description

@bsergean
#messages 3127 msg/s 19
#messages 3134 msg/s 7
Unterminated string starting at: line 1 column 1541 (char 1540)
subscriber[foo::bar]: <RedisClient at 172.25.241.48:6379> Generic Exception caught in Traceback (most recent call last):
  File "/home/app/.local/lib/python3.7/site-packages/rcc/subscriber.py", line 109, in redisSubscriber
    msg = json.loads(data)
  File "/opt/bitnami/python/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/opt/bitnami/python/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/opt/bitnami/python/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 1541 (char 1540)

Closing redis subscription

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions