Skip to content

Commit

Permalink
Handle ModuleNotFoundError for beta instrumentations
Browse files Browse the repository at this point in the history
  • Loading branch information
9dogs committed Oct 15, 2024
1 parent a15ba8d commit 63be127
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _instrument(self, **kwargs):
"Messages.list",
messages_list_wrapper(tracer),
)
except AttributeError:
except (AttributeError, ModuleNotFoundError):
pass

def _uninstrument(self, **kwargs):
Expand Down

0 comments on commit 63be127

Please sign in to comment.