aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debug/debug.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/debug.go b/debug/debug.go
index 741bb7a..28fe8eb 100644
--- a/debug/debug.go
+++ b/debug/debug.go
@@ -63,6 +63,7 @@ func Initialize() {
if OnRecover != nil {
OnRecover()
}
+ _, _ = fmt.Fprintf(os.Stderr, "Potential deadlock detected. See %s/deadlock.log for more information.", LogDirectory)
os.Exit(88)
}
_, err = fmt.Fprintf(deadlocks, "======================= Debug init @ %s =======================\n", time.Now().Format("2006-01-02 15:04:05"))