Add additional debug logging for automate login

Signed-off-by: John Snow <thelunaticscripter@outlook.com>
This commit is contained in:
John Snow 2020-04-17 15:50:40 -04:00
parent 6292462f14
commit 03c012e3c9

View file

@ -302,6 +302,10 @@ module InspecPlugins
)
true
else
Inspec::Log.debug(
"Reviecved #{response.code} form #{url}#{automate_endpoint} - " \
"assuming target is not an #{AUTOMATE_PRODUCT_NAME}2 instance"
)
false
end
end