diff options
Diffstat (limited to 'endpoint_index.go')
-rw-r--r-- | endpoint_index.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/endpoint_index.go b/endpoint_index.go index e6a5741..57ab313 100644 --- a/endpoint_index.go +++ b/endpoint_index.go @@ -57,8 +57,8 @@ func handleIndex(w http.ResponseWriter, req *http.Request) { ) if err2 != nil { log.Println(err2) - return } + return } else if err != nil { wstr(w, http.StatusInternalServerError, fmt.Sprintf("Error: %v", err)) } |