Skip to content

Commit 72e0cbd

Browse files
Anandaraju Coimbatore SivarajuAlena Kastsiukavets
Anandaraju Coimbatore Sivaraju
authored and
Alena Kastsiukavets
committed
[Agent 1.1.2] Change windows unzip exit status logging from debug to 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
1 parent 3fb5ac3 commit 72e0cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/instance_agent/platform/windows_util.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def self.execute_zip_command(cmd)
100100

101101
if exit_status != 0
102102
msg = "Error extracting zip archive: #{exit_status}"
103-
log(:debug, msg)
103+
log(:error, msg)
104104
raise msg
105105
end
106106
end

0 commit comments

Comments
 (0)