Skip to content

Panic is used in library instead of returning error #21

@isodude

Description

@isodude

At

log.Panicf("Failed to listen to address %v. Msg: %v.", localAddr, err.Error())

the code is throwing a panic, which when using this code as a library is quite devastating.

I'm using it for a mtr plugin in telegraf.

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