mirror of
https://github.com/inspec/inspec
synced 2024-09-20 14:31:58 +00:00
Merge pull request #4990 from TheLunaticScripter/tls/add_debug_a2_login
Add additional debug logging for automate login
This commit is contained in:
commit
e7d9a79d5b
1 changed files with 4 additions and 0 deletions
|
@ -302,6 +302,10 @@ module InspecPlugins
|
|||
)
|
||||
true
|
||||
else
|
||||
Inspec::Log.debug(
|
||||
"Received #{response.code} from #{url}#{automate_endpoint} - " \
|
||||
"assuming target is not an #{AUTOMATE_PRODUCT_NAME}2 instance"
|
||||
)
|
||||
false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue