/claim #6674
Refactored LoadTemplatesWithTags and the call chain to properly propagate errors instead of panicking when dialers are missing.
pkg/catalog/loader/loader.go: Updated LoadTemplatesWithTags, LoadTemplates, and Load to return errors instead of panicking.internal/runner/runner.go: Updated caller to handle error returns from store.Load().internal/runner/lazy.go: Updated GetLazyAuthFetchCallback to handle errors.pkg/protocols/common/automaticscan/util.go: Updated helper to handle error returns.pkg/catalog/loader/loader_bench_test.go: Updated benchmark tests to accommodate the new function signatures.New Features
Tests
geraldmarcos
@geraldmarcos
ProjectDiscovery
@projectdiscovery
Madhavan Deepak
@Madhavan-Deepak