Skip to content

Commit

Permalink
Merge pull request #114 from lsst/tickets/DM-10233
Browse files Browse the repository at this point in the history
Stop error being discarded silently
  • Loading branch information
mfisherlevine committed Apr 15, 2017
2 parents 6fbe5bf + 7ffa3b3 commit d86ed56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/pipe/tasks/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def getInfoFromMetadata(self, md, info={}):
func = getattr(self, t)
try:
value = func(md)
except:
except Exception as e:
self.log.warn("%s failed to translate %s: %s", t, p, e)
value = None
if value is not None:
info[p] = value
Expand Down

0 comments on commit d86ed56

Please sign in to comment.