Browse Source

show error reporting instructions after crash dump

Alan Shreve 12 years ago
parent
commit
ea93073174
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/ngrok/util/errors.go

+ 5 - 5
src/ngrok/util/errors.go

@@ -5,14 +5,14 @@ import (
 	"runtime"
 )
 
-const crashMessage = `Oh noes! ngrok crashed!
+const crashMessage = `panic: %v
 
-Please submit the stack trace and any relevant information to:
-github.com/inconshreveable/ngrok/issues
+%s
 
-panic: %v
+Oh noes! ngrok crashed!
 
-%s`
+Please submit the stack trace and any relevant information to:
+github.com/inconshreveable/ngrok/issues`
 
 func MakePanicTrace(err interface{}) string {
 	stackBuf := make([]byte, 4096)