Skip to content

Commit 3e80282

Browse files
committed
报错优化
1 parent f8a04bf commit 3e80282

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cmd/commons/core/runner.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,7 @@ func Start(u string, hashmap map[string]interface{}, i int, c chan int) {
9999
} else {
100100
target = r.Scheme + "://" + r.Host + r.Path
101101
}
102-
defer func() {
103-
if err := recover(); err != nil {
104-
log.Error(" Runner panic: ", err)
105-
}
106-
}()
107102
attack.Sevice(target, hashmap)
108-
109103
defer func() {
110104
if errs := recover(); errs != nil {
111105
log.Debug("Runner panic: ", errs)

0 commit comments

Comments
 (0)