fix c+p typo

This commit is contained in:
Patrick Deuse 2022-07-12 21:35:11 +08:00
parent 67ef0b3af4
commit 8a0b25cfc1

View File

@ -98,7 +98,7 @@ func main() {
After: func(c *cli.Context) error { After: func(c *cli.Context) error {
if r := recover(); r != nil { if r := recover(); r != nil {
// Generate report in LOTUS_PATH and re-raise panic // Generate report in LOTUS_PANIC_REPORT_PATH and re-raise panic
build.GeneratePanicReport(c.String("panic-reports"), c.String(FlagWorkerRepo), c.App.Name) build.GeneratePanicReport(c.String("panic-reports"), c.String(FlagWorkerRepo), c.App.Name)
panic(r) panic(r)
} }