Skip to content

Flusher fails to log: AttributeError: 'Response' object has no attribute 'exception' #25

@nsbradford

Description

@nsbradford

logtail/flusher.py in step() at line 68

            if response.status_code == 500 and getattr(response, "exception") != None:
                print('Failed to send logs to Better Stack after {} retries: {}'.format(len(RETRY_SCHEDULE), response.exception))

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