mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #48044 from twangboy/wua_add_fail_code
Add fail code for WinHTTP send/receive error
This commit is contained in:
commit
ffee3576ec
1 changed files with 2 additions and 1 deletions
|
@ -238,7 +238,8 @@ class WindowsUpdateAgent(object):
|
|||
# Error codes found at the following site:
|
||||
# https://msdn.microsoft.com/en-us/library/windows/desktop/hh968413(v=vs.85).aspx
|
||||
# https://technet.microsoft.com/en-us/library/cc720442(v=ws.10).aspx
|
||||
fail_codes = {-2145124300: 'Download failed: 0x80240034',
|
||||
fail_codes = {-2145107924: 'WinHTTP Send/Receive failed: 0x8024402C',
|
||||
-2145124300: 'Download failed: 0x80240034',
|
||||
-2145124302: 'Invalid search criteria: 0x80240032',
|
||||
-2145124305: 'Cancelled by policy: 0x8024002F',
|
||||
-2145124307: 'Missing source: 0x8024002D',
|
||||
|
|
Loading…
Add table
Reference in a new issue