Replace panic() with proper error return in LoadTemplatesWithTags when protocolstate.GetDialersWithId() returns nil. This allows callers to handle the situation gracefully instead of crashing.
LoadTemplatesWithTags signature to return ([]*templates.Template, error)LoadTemplates to match the new signatureStore.Load() to handle the error with a warning loginternal/runner/lazy.go to propagate the errorautomaticscan/util.go to propagate the errorgo build ./... passes successfullyCloses #6674
/claim #6674
Viki
@V1ki
ProjectDiscovery
@projectdiscovery
Madhavan Deepak
@Madhavan-Deepak