Log force closing

This commit is contained in:
Iwasaki Yudai 2017-08-20 13:38:42 +09:00
parent 91ee778665
commit 56e9b89199
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ func waitSignals(errs chan error, cancel context.CancelFunc, gracefullCancel con
case err := <-errs:
return err
case <-sigChan:
fmt.Println("Force closing...")
cancel()
return <-errs
}