mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-10-27 23:29:58 -04:00
merge master
This commit is contained in:
4 files changed
+7
-2
No files matched your search
@@ -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