1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-03 11:46:22 -07:00

Remove unnecessary panic in util.go

This commit is contained in:
Eggbertx 2019-05-14 18:20:43 -07:00
parent fe15568d78
commit d29ea2fd57

View file

@ -334,7 +334,6 @@ func customError(err error) string {
func handleError(verbosity int, format string, a ...interface{}) string {
out := fmt.Sprintf(format, a...)
panic(out)
println(verbosity, out)
errorLog.Print(out)
return out