Skip to content

Commit

Permalink
update context cancel message
Browse files Browse the repository at this point in the history
  • Loading branch information
cw-sakamoto committed Dec 7, 2023
1 parent 530cf77 commit a991371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ func newSignalContext(logger func() *logrus.Entry, chatwork *notify.Chatwork) co

go func() {
<-c
logger().Info("Received Ctrl+C. Exiting...")
chatwork.AddMessage("Received Ctrl+C. Exiting...\n")
logger().Info("Received Ctrl+C or SIGTERM. Exiting...")
chatwork.AddMessage("Received Ctrl+C or SIGERM. Exiting...\n")
cancel()
}()

Expand Down

0 comments on commit a991371

Please sign in to comment.