Skip to content

Commit aa677e1

Browse files
committed
add exception for double import
1 parent af1c061 commit aa677e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

truss/base/trt_llm_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def parse_build_resources(data):
171171

172172
print("build_resources", build_resources)
173173
data["build_resources"] = Resources.from_dict(build_resources)
174-
except ImportError:
174+
except (ImportError, Exception):
175175
pass
176176
return data
177177

0 commit comments

Comments
 (0)