Closed Fryguy closed 3 years ago
Totals | |
---|---|
Change from base Build 5152: | 0.002% |
Covered Lines: | 5051 |
Relevant Lines: | 5891 |
@chessbyte No, because that will fall through to line 124 (return_result
), which does the right thing.
@Fryguy thanks - as a general observation, this method is too long. In a future PR, would be nice to refactor it so we can see the forest for the trees.
Backported to lasker
in commit 5eeb6aaf0106910ae5eeb5c80d95d3f68ed6e06a.
commit 5eeb6aaf0106910ae5eeb5c80d95d3f68ed6e06a
Author: Oleg Barenboim <chessbyte@gmail.com>
Date: Wed Mar 31 08:58:15 2021 -0400
Merge pull request #475 from Fryguy/fix_deliver_return
Fix issue where delivery failures return 'true'
(cherry picked from commit 5be34d7779dbd7e968326076c39aacca197fc59f)
This method is expected to return nil on failures, otherwise the workspace itself, however when there is an error, _log.error will return true, which becomes the return value of this method.