gotham-rs / gotham

A flexible web framework that promotes stability, safety, security and speed.

Home Page:https://gotham.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`start` - errors on socket opening

nyarly opened this issue · comments

During boot, errors opening the socket are silently swallowed, which is very poor UX.

start and friends would need to return Result<()> (or panic) to handle this.

commented

I'd prefer a Result over panicking as it gives applications the ability to retry later, change the port they use or similar.