alby-hub/cmd
Freepilot d9d7fe6195
[Freepilot] fix: startup error handling (#1413)
* fix: handle errors from service.NewService() in startup code

Previously, both HTTP and Wails startup code ignored errors from
service.NewService(ctx) using blank identifier (_), which could
cause panics later if NewService fails (e.g., unable to connect
to postgres database).

Now properly handle the error and exit gracefully with a fatal
log message when service initialization fails.

* fix: compile error

---------

Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2025-06-17 21:07:52 +07:00
..
db_migrate chore: build db_migrate entrypoint (#1348) 2025-05-30 18:37:16 +07:00
http [Freepilot] fix: startup error handling (#1413) 2025-06-17 21:07:52 +07:00