better logs and event names

This commit is contained in:
Nordup 2024-10-26 02:25:54 +04:00
parent 6528dffe57
commit 83406350c0
6 changed files with 22 additions and 19 deletions

View file

@ -92,6 +92,7 @@ func create_request(url: String, save_path: String, timeout: float = 0) -> int:
var download_request = DownloadRequest.new(save_path, http, timer)
download_requests.append(download_request)
Debug.logclr("Downloading " + url, Color.GRAY)
var err = http.request(url)
if err != OK: return err
var code = (await http.request_completed)[1]