Modify ↓
Opened 2 hours ago
#4062 new Bug
InetRead() return http_statuscode on error
| Reported by: | Jpm | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.14.0 | Severity: | None |
| Keywords: | Cc: |
Description
return it in @extended on @error
#include <MsgBoxConstants.au3>
Example()
Func Example()
Local $dData = InetRead("https://anydesk.com/x")
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $dData = ' & $dData & @CRLF & '>Error code: ' & @error & ' Extended code: ' & @extended & ' (0x' & Hex(@extended) & ')' & @CRLF) ;### Debug Console
; Display the results.
MsgBox($MB_SYSTEMMODAL, "", "Error = " & @error & " extended = " & @extended)
EndFunc ;==>Example
Attachments (0)
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
