Signed-off-by: Vishal Rana <vr@labstack.com>
@ -54,7 +54,7 @@ func NewRouter(e *Echo) *Router {
func (r *Router) Add(method, path string, h HandlerFunc, e *Echo) {
// Validate path
if path == "" {
e.logger.Fatal("path cannot be empty")
panic("echo: path cannot be empty")
}
if path[0] != '/' {
path = "/" + path
The note is not visible to the blocked user.