1
0
Fork 0

Fixed copy-pasta. log.Fatalln() replaced with return err.

This commit is contained in:
Alexander Andreev 2023-08-06 01:42:56 +04:00
parent 3b15052330
commit 17781c5445
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ func (s *HttpServer) Start(address string) error {
} else {
ap, err := netip.ParseAddrPort(address)
if err != nil {
log.Fatalln(err)
return err
}
if ap.Addr().Is4() {