mirror of
https://github.com/inspec/inspec
synced 2025-02-18 15:08:44 +00:00
Add additional debug logging for automate login
Signed-off-by: John Snow <thelunaticscripter@outlook.com>
This commit is contained in:
parent
6292462f14
commit
03c012e3c9
1 changed files with 4 additions and 0 deletions
|
@ -302,6 +302,10 @@ module InspecPlugins
|
||||||
)
|
)
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
|
Inspec::Log.debug(
|
||||||
|
"Reviecved #{response.code} form #{url}#{automate_endpoint} - " \
|
||||||
|
"assuming target is not an #{AUTOMATE_PRODUCT_NAME}2 instance"
|
||||||
|
)
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue