add 'data' argument to http error callback

This commit is contained in:
MihailRis
2025-09-16 23:17:06 +03:00
parent 20c5edb495
commit 7d6ddfa535
5 changed files with 35 additions and 37 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ network.__process_events = function()
_http_response_callbacks[event[3]] = nil
_http_error_callbacks[event[3]] = nil
if callback then
callback(event[2])
callback(event[2], event[4])
end
end
end