mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-08-29 21:36:58 -04:00
merge master
This commit is contained in:
@@ -68,6 +68,7 @@ func hash(s string) string {
|
||||
func exitPath(w http.ResponseWriter, s ...interface{}) {
|
||||
if r := recover(); r != nil {
|
||||
log.Println("error", s, r)
|
||||
w.WriteHeader(500)
|
||||
w.Write([]byte("error"))
|
||||
} else if *verb {
|
||||
log.Println(s...)
|
||||
|
||||
Reference in New Issue
Block a user