Commit graph

12 commits

Author SHA1 Message Date
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
Roland
efef57238a
chore: include information about channels in shutdown message (#1103) 2025-03-05 11:24:10 +07:00
Roland Bewick
22d721d1e4 fix: prevent user starting wails app twice 2024-09-25 13:20:35 +07:00
Adithya Vardhan
315cf7e158
fix: use workdir for temp bkp file (#511)
* chore: use workdir for temp bkp file

* chore: change bkp file name to albyhub

* chore: only notarize dmg during release

* chore: change tmp file name to albyhub-*.bkp

---------

Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2024-08-23 16:47:27 +07:00
Roland
7b9e4d5c2f
fix: stop nostr when app is shutdown and use context to stop lnclient (#271) 2024-07-13 20:01:33 +07:00
Roland Bewick
3088373477 chore: rename everything to alby hub 2024-07-05 20:32:40 +07:00
Roland
d06b421769
Split service into packages (#435) 2024-06-17 19:42:09 +07:00
Roland
073d669e03
Refactor: API cleanup (#338) 2024-05-30 00:06:06 +07:00
Michael Bumann
02e39d7ac0 WIP dynamic start 2024-01-21 13:08:16 +01:00
Roland Bewick
c9580842cc fix: graceful shutdown in http and wails modes 2024-01-19 14:34:17 +07:00
Roland Bewick
c1687baece chore: rename new service function 2024-01-18 21:13:41 +07:00
Roland Bewick
53be2b5350 feat: split http and wails into two entrypoints 2024-01-18 20:39:25 +07:00