Skip to content
This repository was archived by the owner on Jul 7, 2024. It is now read-only.

Commit 50d7804

Browse files
committed
node: listen: show error message to systemd-notify
1 parent 839bc80 commit 50d7804

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

node/loop.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ func (n *Node) listenCS() error {
2626
return util.Backoff(func() (resetBackoff bool, err error) {
2727
return n.listenCSOnce()
2828
}, func(backoff time.Duration, err error) error {
29+
util.Notify(fmt.Sprintf("STATUS=connecting to CS: %s (retrying in %s)", err, backoff))
2930
util.S.Errorf("listen: %s; retry in %s", err, backoff)
3031
util.S.Errorw("listen: error",
3132
"err", err,

0 commit comments

Comments
 (0)