Description

Replaces panic() calls in the template loader with proper error handling using fmt.Errorf(), preventing unexpected crashes during template loading.

Closes #6674

Changes

  • Replaced panic() with error returns in template loader
  • Updated function signatures to return errors where needed
  • Ensured callers properly handle the new error returns

/claim #6674

Summary by CodeRabbit

  • Bug Fixes
    • Enhanced error handling for template loading failures across the application. Templates that fail to load now return explicit errors instead of silently failing, preventing unexpected behavior and providing clearer feedback when issues occur.

Claim

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

Contributors

28

285729101

@285729101

100%

Sponsors

PR

ProjectDiscovery

@projectdiscovery

$100
MA

Madhavan Deepak

@Madhavan-Deepak

$100