Remove extranious response
This commit is contained in:
parent
b6d575a286
commit
8a343d0324
@ -16,7 +16,6 @@ func InternalErrorHandler(w http.ResponseWriter, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
if err := json.NewEncoder(w).Encode(j{"error": err.Error()}); err != nil {
|
||||
InternalErrorHandler(w, err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user