Skip to content

Commit

Permalink
fix: wget error handling print() wraps, I'm braindead
Browse files Browse the repository at this point in the history
I forgot print() wraps :)
  • Loading branch information
tizu69 authored Dec 21, 2024
1 parent 3a7de2f commit 64a4a53
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ local function get(sUrl)

local response, err = http.get(sUrl)
if not response then
print() -- write() above does not wrap, and error might be longer than available space
print(string.format("Failed: %s", err))
return nil
end
Expand Down

0 comments on commit 64a4a53

Please sign in to comment.