fix(inferium-harvester): avoid printing the same error message each time
This commit is contained in:
parent
b9144d6847
commit
7233ed7eb5
@ -286,6 +286,7 @@ local function fetchRemotePlan()
|
|||||||
return previouslyFetchedRemotePlan
|
return previouslyFetchedRemotePlan
|
||||||
elseif not replyMessage and errMessage then
|
elseif not replyMessage and errMessage then
|
||||||
if lastErrMessage ~= errMessage then
|
if lastErrMessage ~= errMessage then
|
||||||
|
lastErrMessage = errMessage
|
||||||
print('> failed to fetch: ' .. tostring(errMessage))
|
print('> failed to fetch: ' .. tostring(errMessage))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user