Merge pull request #169 from webknjaz/bugfixes/167-curl-err-52
🚨 Don't show a warning on faulty network
This commit is contained in:
commit
3b7311a948
|
@ -393,7 +393,9 @@ local function worker(args)
|
|||
local function update_widget(widget, stdout, stderr)
|
||||
if stderr ~= '' then
|
||||
if not warning_shown then
|
||||
show_warning(stderr)
|
||||
if stderr ~= 'curl: (52) Empty reply from server' then
|
||||
show_warning(stderr)
|
||||
end
|
||||
warning_shown = true
|
||||
widget:is_ok(false)
|
||||
tooltip:add_to_object(widget)
|
||||
|
|
Loading…
Reference in New Issue