File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,10 @@ def init_instrumentations(
222222 if disable_instrumentations is None :
223223 for name , v in all_instrumentations .items ():
224224 if is_package_installed (name ):
225- v .instrument ()
225+ try :
226+ v .instrument ()
227+ except Exception as e :
228+ print (f"Skipping { name } due to error while instrumenting: { e } " )
226229
227230 else :
228231
@@ -244,4 +247,7 @@ def init_instrumentations(
244247
245248 for name , v in filtered_dict .items ():
246249 if is_package_installed (name ):
247- v .instrument ()
250+ try :
251+ v .instrument ()
252+ except Exception as e :
253+ print (f"Skipping { name } due to error while instrumenting: { e } " )
Original file line number Diff line number Diff line change 1- __version__ = "2.3.22 "
1+ __version__ = "2.3.23 "
You can’t perform that action at this time.
0 commit comments