mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 06:45:08 +00:00
fix(shodan): delete unnecessary error in logger.error (#3454)
This commit is contained in:
@@ -37,6 +37,6 @@ class ec2_elastic_ip_shodan(Check):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
logger.error(
|
logger.error(
|
||||||
"ERROR: No Shodan API Key -- Please input a Shodan API Key with -N/--shodan or in config.yaml"
|
"No Shodan API Key -- Please input a Shodan API Key with -N/--shodan or in config.yaml"
|
||||||
)
|
)
|
||||||
return findings
|
return findings
|
||||||
|
|||||||
@@ -35,6 +35,6 @@ class network_public_ip_shodan(Check):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
logger.error(
|
logger.error(
|
||||||
"ERROR: No Shodan API Key -- Please input a Shodan API Key with -N/--shodan or in config.yaml"
|
"No Shodan API Key -- Please input a Shodan API Key with -N/--shodan or in config.yaml"
|
||||||
)
|
)
|
||||||
return findings
|
return findings
|
||||||
|
|||||||
Reference in New Issue
Block a user