validate cachedir incorrectly re-raising InvalidChecksum

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0, 5.1.2, 5.0.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.1, v5.0
    • Dev Platform 2021-11-15
    • 29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The validate cachedir has a try-except block around a file being removed out from under it. It catches this case and should just return a state of non retrieval from the cache, and the build should be able to continue to success.

       

      However an incorrect use of the 'finally' causes an exception to be re-raised during the normal handling of the original exception in the try-except block. This finally should be an else block instead.

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: