Commit graph

14 commits

Author SHA1 Message Date
Roland
2ffb84683e
fix: signal handling after ignoring sigpipe signal (#1553)
* fix: signal handling after ignoring sigpipe signal

* chore: add (unnecessary) break
2025-07-30 23:42:19 +07:00
Roland
63f41887c7
fix: ignore sigpipe signal (#1535) 2025-07-23 17:00:00 +07:00
Adithya Vardhan
bce8b2103a
chore: increase lnd wait time before retrying (#1444)
* chore: increase lnd wait time before retrying

* fix: os signal goroutine should not wait for service init

* chore: set max retries to 60 and wait time to 10s
2025-06-26 15:09:27 +05:30
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 Bewick
42d262899e fix: exit application in http mode if port is in use 2025-03-18 16:02:43 +07:00
Roland
efef57238a
chore: include information about channels in shutdown message (#1103) 2025-03-05 11:24:10 +07:00
Roland
8ebb4ad716
fix: replace fatal logs with proper error handling (#707)
* fix: replace fatal logs with proper error handling

- fires nwc shutdown event synchronously
- requires at least one minute leeway for access token expiry

* chore: rename error

* fix: do not mask original reason for error

* fix: config error handling and error messages

* chore: rename
2024-09-25 17:31:05 +07:00
Roland
ba30fe35cc
chore: add error handling for echo shutdown (#593) 2024-09-03 17:09:26 +07:00
Matjaž Lipuš
6d3e260d42
chore: code cleanup (#558) 2024-08-28 22:34:50 +07:00
Roland
5027a05f99
chore: reduce number of info logs, remove echologrus middleware (#408)
* chore: reduce number of info logs, remove echologrus middleware

* chore: add extra properties to echo request logger
2024-08-06 21:30:13 +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
9fdd71b7e0
chore: log OS signal on exit in HTTP mode (#502) 2024-06-25 13:30:33 +07:00
Roland
d06b421769
Split service into packages (#435) 2024-06-17 19:42:09 +07:00