Skip to content

Commit

Permalink
Added invalid TLS configuration error
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <vr@labstack.com>
  • Loading branch information
vishr committed May 10, 2015
1 parent f18ec22 commit 358272d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions echo.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ func (e *Echo) run(s *http.Server, f ...string) {
log.Fatal(s.ListenAndServe())
} else if len(f) == 2 {
log.Fatal(s.ListenAndServeTLS(f[0], f[1]))
} else {
log.Fatal("echo: invalid TLS configuration")
}
}

Expand Down

0 comments on commit 358272d

Please sign in to comment.