Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To avoid: ``` File "/usr/lib/python3.12/logging/__init__.py", line 1539, in info self._log(INFO, msg, args, **kwargs) File "/usr/lib/python3.12/logging/__init__.py", line 1684, in _log self.handle(record) File "/usr/lib/python3.12/logging/__init__.py", line 1700, in handle self.callHandlers(record) File "/venv/lib/python3.12/site-packages/sentry_sdk/integrations/logging.py", line 98, in sentry_patched_callhandlers return old_callhandlers(self, record) Message: '[%s] %r' Arguments: ('cached since 570.4s ago', {'status': 'ERROR', 'status_1': 'PENDING', 'created_at_1': datetime.datetime(2024, 12, 8, 16, 4, 28, 898425, tzinfo=datetime.timezone.utc)}) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.12/logging/__init__.py", line 1163, in emit stream.write(msg + self.terminator) ^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'write' ```
- Loading branch information