From 2fa1d7fe4d9b5cfed80d15960b4f92e5558a3e0e Mon Sep 17 00:00:00 2001 From: Olivier Delalleau <507137+odelalleau@users.noreply.github.com> Date: Thu, 25 Feb 2021 23:24:56 -0500 Subject: [PATCH] Only catch InterpolationResolutionError --- omegaconf/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omegaconf/base.py b/omegaconf/base.py index 7c6548118..f9c93f015 100644 --- a/omegaconf/base.py +++ b/omegaconf/base.py @@ -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