You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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.
The text was updated successfully, but these errors were encountered:
theikalman
added a commit
to theikalman/go-restful-plugins
that referenced
this issue
Jun 13, 2023
https://github.com/AccelByte/go-restful-plugins/blob/8d98427b051c677ea4b13e8f83a8591cb28d630a/pkg/response/response.go#LL90C31-L90C31
If we run the unit test with
-v
thatfmt.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).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.
The text was updated successfully, but these errors were encountered: