Skip to content

lib/model: Return correct error in puller-iteration (ref #7424) - #7461

Merged
calmh merged 1 commit into
syncthing:mainfrom
imsodin:model/processneeded-nil-err
Mar 12, 2021
Merged

calmh merged 1 commit into
syncthing:mainfrom
imsodin:model/processneeded-nil-err

Conversation

@imsodin

@imsodin imsodin commented Mar 12, 2021

Copy link
Copy Markdown
Member

The error at the end of pullerIteration isn't necessarily nil. The mistake isn't actually bad (i.e. no immediate release needed), because the only error that can occur there is a cancelled context, which will also be caught by the caller if the error is nil.

@calmh
calmh merged commit 31f859e into syncthing:main Mar 12, 2021
@imsodin
imsodin deleted the model/processneeded-nil-err branch March 12, 2021 11:45
@st-release st-release added this to the v1.15.0 milestone Mar 17, 2021
@calmh calmh added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Aug 11, 2022
@syncthing syncthing locked and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants