|
@@ -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)
|