Skip to content

Add error handling #52

@Sakaala

Description

@Sakaala

Currently GelfHttpHandler and GelfHttpsHandler are not utilising handleError which violates python documentation about writing own handlers.

Solution:

def emit(record):
    try:
         ... # logic here
    except:
        self.handleError(record)

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