Skip to content

Commit

Permalink
[Agent 1.1.2] Change windows unzip exit status logging from debug to …
Browse files Browse the repository at this point in the history
…error

Why is this change needed?
---------
Prior to this change, windows unzip util had debug log level instead of error

How does it address the issue?
---------
This change will log the exit status as error instead of debug
  • Loading branch information
Anandaraju Coimbatore Sivaraju authored and Alena Kastsiukavets committed Jul 31, 2020
1 parent 3fb5ac3 commit 72e0cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/instance_agent/platform/windows_util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def self.execute_zip_command(cmd)

if exit_status != 0
msg = "Error extracting zip archive: #{exit_status}"
log(:debug, msg)
log(:error, msg)
raise msg
end
end
Expand Down

0 comments on commit 72e0cbd

Please sign in to comment.