Melkeydev / go-blueprint

Go-blueprint allows users to spin up a quick Go project using a popular framework
https://docs.go-blueprint.dev/
MIT License
5.94k stars 335 forks source link

Include error message in panic output in main #152

Closed EinarLogi closed 11 months ago

EinarLogi commented 11 months ago

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

Problem/Feature

Ran into an issue where port 8080 was already in use but the output only gave me the "cannot start server" message.

Description of Changes:

Added string formatting to panic output in main to include the error message if startup fails.

Checklist