Commit 93be0c7
authored
ref: upgrade structlog (#43680)
I think this fixes a breakage with xdist:
```console
File "/home/runner/work/getsentry/getsentry/.venv/lib/python3.8/site-packages/sentry_sdk/integrations/logging.py", line 96, in sentry_patched_callhandlers
return old_callhandlers(self, record)
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/logging/__init__.py", line 1661, in callHandlers
hdlr.handle(record)
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/logging/__init__.py", line 954, in handle
self.emit(record)
File "/home/runner/work/getsentry/sentry/src/sentry/logging/handlers.py", line 92, in emit
logger.log(**self.get_log_kwargs(record=record, logger=logger))
File "/home/runner/work/getsentry/getsentry/.venv/lib/python3.8/site-packages/structlog/_config.py", line 396, in __getattr__
return getattr(bl, name)
AttributeError: 'BoundLoggerFilteringAtNotset' object has no attribute 'log'
```
<!-- Describe your PR here. -->1 parent 894dc16 commit 93be0c7
File tree
3 files changed
+3
-3
lines changed3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments