mirror of
https://github.com/inspec/inspec
synced 2024-11-26 22:50:36 +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
|
||||
else
|
||||
Inspec::Log.debug(
|
||||
"Reviecved #{response.code} form #{url}#{automate_endpoint} - " \
|
||||
"assuming target is not an #{AUTOMATE_PRODUCT_NAME}2 instance"
|
||||
)
|
||||
false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue