Skip to content

False log info when running with test #69

@theikalman

Description

@theikalman

https://github.com/AccelByte/go-restful-plugins/blob/8d98427b051c677ea4b13e8f83a8591cb28d630a/pkg/response/response.go#LL90C31-L90C31

If we run the unit test with -v that fmt.Println will be printed. And in that case it is printed an error with stacktrace similar to panic error in Go (example in the image below).

image

I suggested to remove that print to avoid confusion between panic error and normal error and instead use standar error message to print out information needed.

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