Commit d0d70a5
authored
feat: Do not spam sentry_sdk.warnings logger w/ Spotlight (#4219)
Sometimes one may have Spotlight turned on in the SDK but not have the
sidecar running or reachable. In that case we spam the console with
every event as they fail to reach Spotlight. This patch limits the fail
warnings to 3: the first 2 are actual errors and the final one is a note
about shutting up.1 parent 4dcd538 commit d0d70a5
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | | - | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
| |||
0 commit comments