Merge pull request #138 from unistack-org/errorHandler
return after errorHandler
This commit was merged in pull request #138.
	This commit is contained in:
		| @@ -117,6 +117,7 @@ func (h *httpServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { | ||||
| 			break | ||||
| 		} else if err == rhttp.ErrMethodNotAllowed && !h.registerRPC { | ||||
| 			h.errorHandler(ctx, nil, w, r, fmt.Errorf("not matching route found"), http.StatusNotFound) | ||||
| 			return | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user