Skip to content

Commit

Permalink
Merge pull request #21 from chatwork/fix_context_message
Browse files Browse the repository at this point in the history
update context cancel message
  • Loading branch information
cw-sakamoto authored Dec 7, 2023
2 parents 530cf77 + a991371 commit 01ea0db
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 01ea0db

Please sign in to comment.