Commit d96fb3f
fix(google_genai): Add minimum version check in setup_once
The GoogleGenAI integration is auto-enabled but was not checking the
minimum version (1.29.0) before attempting to patch methods. This could
cause AttributeError crashes during Sentry initialization if a user has
an older version of google-genai installed.
Add _check_minimum_version call in setup_once() to ensure graceful
handling of incompatible versions, matching the pattern used by other
auto-enabled integrations like Anthropic.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 84740ff commit d96fb3f
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
| |||
0 commit comments