Skip to content

Commit 09c86d5

Browse files
author
Felix Breidenstein
committed
Correctly return errors
1 parent 22d8a5a commit 09c86d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ func inputHandler(client *alamos.AlamosClient, debug bool) http.Handler {
7373
if err != nil {
7474
w.WriteHeader(http.StatusInternalServerError)
7575
w.Write([]byte("ERROR"))
76+
return
7677
}
7778

7879
default:

0 commit comments

Comments
 (0)