Fixes #6674

Changes

  • Changed LoadTemplatesWithTags function signature to return error instead of panicking
  • Replaced panic() calls with proper fmt.Errorf() returns for:
    • Nil dialers check
    • Wait group creation error
  • Updated caller in pkg/protocols/common/automaticscan/util.go to handle the new error return
  • All error messages follow Go best practices

Testing

  • Verified code compiles (no go locally, relying on CI)
  • Changes follow existing error handling patterns in the codebase
  • Error propagation path is correct

/claim #6674

Claim

Total prize pool $200
Total paid $0
Status Pending
Submitted February 18, 2026
Last updated February 18, 2026

Contributors

TI

Tiger Guo

@stranger00135

100%

Sponsors

PR

ProjectDiscovery

@projectdiscovery

$100
MA

Madhavan Deepak

@Madhavan-Deepak

$100