Skip to content

Commit

Permalink
warn for invalid sources (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir authored Dec 12, 2024
1 parent 1d4a29c commit 31f5b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/pkg/passive/sources.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func New(sourceNames, excludedSourceNames []string, useAllSources, useSourcesSup
if len(sourceNames) > 0 {
for _, source := range sourceNames {
if NameSourceMap[source] == nil {
gologger.Fatal().Msgf("There is no source with the name: %s", source)
gologger.Warning().Msgf("There is no source with the name: %s", source)
} else {
sources[source] = NameSourceMap[source]
}
Expand Down

0 comments on commit 31f5b69

Please sign in to comment.