Skip to content

Double exception logging causes double stack trace #179

@gconklin

Description

@gconklin

https://github.com/requests/requests-kerberos/blob/master/requests_kerberos/kerberos_.py#L232
This bit of error handling is logging the stack trace twice.

Perhaps one should be log.error() - or maybe both should be log.error() and leave it up to the caller to log the stack trace.

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