Skip to content

Commit

Permalink
fix: add return statement after panic
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasoca committed May 13, 2023
1 parent 2c78ca1 commit 1f739b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/app/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func (h *HttpHandlers) ExampleFileHandler(w http.ResponseWriter, r *http.Request
if err != nil {
log.Panic(err)
}
return
}
return
default:
Expand Down

0 comments on commit 1f739b4

Please sign in to comment.