Skip to content

Commit

Permalink
Only catch InterpolationResolutionError
Browse files Browse the repository at this point in the history
  • Loading branch information
odelalleau committed Feb 26, 2021
1 parent 5718bf0 commit 2fa1d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omegaconf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def _resolve_interpolation_from_parse_tree(
key=key,
parent=parent,
)
except Exception:
except InterpolationResolutionError:
if throw_on_resolution_failure:
raise
return None
Expand Down

0 comments on commit 2fa1d7f

Please sign in to comment.