Skip to content

Commit efef572

Browse files
authored
chore: include information about channels in shutdown message (#1103)
1 parent 36168c0 commit efef572

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

cmd/http/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,5 @@ func main() {
6161
logger.Logger.Info("Echo server exited")
6262
svc.Shutdown()
6363
logger.Logger.Info("Service exited")
64+
logger.Logger.Info("Alby Hub needs to stay online to send and receive transactions. Channels may be closed if your hub stays offline for an extended period of time.")
6465
}

main_wails.go

+1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ func main() {
4242
cancel()
4343
svc.Shutdown()
4444
logger.Logger.Info("Service exited")
45+
logger.Logger.Info("Alby Hub needs to stay online to send and receive transactions. Channels may be closed if your hub stays offline for an extended period of time.")
4546
}

wails/wails_app.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (app *WailsApp) onBeforeClose(ctx context.Context) bool {
4444
response, err := runtime.MessageDialog(ctx, runtime.MessageDialogOptions{
4545
Type: runtime.QuestionDialog,
4646
Title: "Confirm Exit",
47-
Message: "Are you sure you want to shut down Alby Hub? Alby Hub needs to stay online to send and receive transactions.",
47+
Message: "Are you sure you want to shut down Alby Hub? Alby Hub needs to stay online to send and receive transactions. Channels may be closed if your hub stays offline for an extended period of time.",
4848
Buttons: []string{"Yes", "No"},
4949
DefaultButton: "No",
5050
})

0 commit comments

Comments
 (0)