Proposed changes

Fixes #6674

Replaced a panic with proper error handling in the template loader when GetDialersWithId() returns nil, since this can occur in non-scanning paths where dialers aren’t initialized.

Proof

  • make test - all unit tests pass
  • make vet - passes with no issues
  • make build - compiles successfully

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

/claim #6674

Summary by CodeRabbit

  • Bug Fixes
    • Enhanced error handling for template loading operations. Previously, certain failure scenarios could cause crashes or be silently ignored; errors are now properly captured and reported to prevent application instability.

Claim

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

Contributors

AR

Areeb Ahmed

@areebahmeddd

100%

Sponsors

PR

ProjectDiscovery

@projectdiscovery

$100
MA

Madhavan Deepak

@Madhavan-Deepak

$100