Fix a debug message in session close.

This commit is contained in:
Harshavardhana
2016-11-20 18:41:12 -08:00
parent cf89d74561
commit e1ed7c65e7
-2
View File
@@ -23,7 +23,6 @@ import (
"fmt"
"io"
"os"
"runtime/debug"
"strings"
"sync"
"time"
@@ -358,7 +357,6 @@ func (s *sessionV8) Delete() *probe.Error {
// Close a session and exit.
func (s sessionV8) CloseAndDie() {
s.Close()
fmt.Println(string(debug.Stack()))
console.Fatalln("Session safely terminated. To resume session ‘mc session resume " + s.SessionID + "’")
}