This PR addresses issue #6674 by replacing explicit panics with returned errors in the template loader.
pkg/catalog/loader/loader.go to return a formatted error instead of crashing when dialers are nil.syncutil.New to safely propagate errors back to the caller.runner.go and nuclei_sdk.go handle these new error returns gracefully.TestLoadTemplates_NoDialers in pkg/catalog/loader/loader_test.go to verify the fix./claim #6674
Bug Fixes
Refactor
Tests
Madhavan Deepak
@Madhavan-Deepak
ProjectDiscovery
@projectdiscovery
Madhavan Deepak
@Madhavan-Deepak