Skip to content

msglogger only logs tracebacks #7

@RonjaPonja

Description

@RonjaPonja

An excerpt from the log:

2015-01-14_16:06:04.86102 ERROR:msglogger:
2015-01-14_16:06:04.86104 Traceback (most recent call last):
2015-01-14_16:06:04.86104 File "/srv/edi/edi/apps/msg-logger/logger.py", line 113, in handle_msg
2015-01-14_16:06:04.86105 cur.execute(sql, (now, msg.routing_key, msg.properties["content_type"], msg.body))
2015-01-14_16:06:04.86105 ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions