Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_persistence
-
Labels:None
-
Team:Architecture
Description
Michael Wood-Vasey points out that the bypass handling in the Butler get method catches all exceptions to allow searching of other repositories in case a dataset doesn't exist. This is excessive; RuntimeError exceptions should cause failures, and (I think) only NoResults exceptions should cause continued searching.
Attachments
Issue Links
- relates to
-
DM-14310 Fix catching of generic Exceptions
- To Do
Thank you. The current change looks good and would have immediately revealed the error. I attach two files showing the difference. The master.log
ends in a generic No locations for get, while the second DM-13803.log
ends directly with the failed key lookup in a template format string that was the root cause.
Take this as a pre-emptive review. Presuming this passes Jenkins, this looks good to me.