This commit is contained in:
parent
5b763dc7b4
commit
9cdb96036f
@ -43,6 +43,7 @@ func main() {
|
||||
return context, nil
|
||||
},
|
||||
After: func(context context.Context, c *cli.Command) error {
|
||||
logger.Log("Starting cleanup")
|
||||
logger.CloseLogFile()
|
||||
return nil
|
||||
},
|
||||
|
||||
@ -132,6 +132,8 @@ func action(context context.Context, c *cli.Command) error {
|
||||
logger.Log("Slack targets found.")
|
||||
slack.Send(ar, priority)
|
||||
}
|
||||
|
||||
logger.Log("Finished sending messages")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user