Skip to content
Snippets Groups Projects
Commit 9e1d5a05 authored by Ophestra's avatar Ophestra
Browse files

less bonkers text in web server panic recover routine

parent 3e66377c
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ func recovery() gin.HandlerFunc {
if p != nil {
log.Printf("panic in web server %s", p)
context.JSON(http.StatusInternalServerError, gin.H{
"error": "panic",
"error": "panic in web server",
})
fmt.Println(string(debug.Stack()))
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment