Răsfoiți Sursa

prevent forking the process by Bugsnag

DarthSim 1 an în urmă
părinte
comite
d31d310dd5
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      errorreport/bugsnag/bugsnag.go

+ 1 - 0
errorreport/bugsnag/bugsnag.go

@@ -15,6 +15,7 @@ func Init() {
 		bugsnag.Configure(bugsnag.Configuration{
 			APIKey:       config.BugsnagKey,
 			ReleaseStage: config.BugsnagStage,
+			PanicHandler: func() {}, // Disable forking the process
 		})
 		enabled = true
 	}