exporting echo_log and adding a debug in controller for stackTrace

This commit is contained in:
smruthi2187
2018-02-08 13:58:44 -08:00
parent a98370ca63
commit 266922da26
2 changed files with 6 additions and 6 deletions
+1
View File
@@ -36,6 +36,7 @@ func Start(port int) {
signal.Notify(c, syscall.SIGTERM)
go func() {
<-c
log.Println("Dumping stack trace")
dumpStackTrace()
os.Exit(1)
}()