adding comment

This commit is contained in:
Mzack9999 2023-06-12 12:35:21 +02:00
parent 83b6ab54a6
commit f9039c0557

View File

@ -592,6 +592,8 @@ func (r *Runner) RunEnumeration() error {
r.issuesClient.Close() r.issuesClient.Close()
} }
// todo: error propagation without canonical straight error check is required by cloud?
// use safe dereferencing to avoid potential panics in case of previous unchecked errors
if v := ptrutil.Safe(results); !v.Load() { if v := ptrutil.Safe(results); !v.Load() {
gologger.Info().Msgf("No results found. Better luck next time!") gologger.Info().Msgf("No results found. Better luck next time!")
} }