Commit 56e9b891 by Iwasaki Yudai

Log force closing

1 parent 91ee7786
Showing with 1 additions and 0 deletions
...@@ -136,6 +136,7 @@ func waitSignals(errs chan error, cancel context.CancelFunc, gracefullCancel con ...@@ -136,6 +136,7 @@ func waitSignals(errs chan error, cancel context.CancelFunc, gracefullCancel con
case err := <-errs: case err := <-errs:
return err return err
case <-sigChan: case <-sigChan:
fmt.Println("Force closing...")
cancel() cancel()
return <-errs return <-errs
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!