Created
November 21, 2022 16:01
-
-
Save alangenfeld/2bc3f1d22e81af428fa487320fc6c797 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2022-11-19T15:50:31Z] logger.exception(e) | |
[2022-11-19T15:50:31Z] .tox/py38-default/lib/python3.8/site-packages/structlog/_log_levels.py:85: in exception | |
[2022-11-19T15:50:31Z] return self.error(event, **kw) | |
[2022-11-19T15:50:31Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[2022-11-19T15:50:31Z] | |
[2022-11-19T15:50:31Z] self = <BoundLoggerFilteringAtNotset(context={}, processors=[<function merge_contextvars at 0x7fe77a30c1f0>, <function add_lo...structlog.processors.TimeStamper object at 0x7fe77a131dc0>, <structlog.dev.ConsoleRenderer object at 0x7fe77a132310>])> | |
[2022-11-19T15:50:31Z] event = IntegrityError('(psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "unique_active_deployment_name"\nDETAIL: Key (name, organization_id)=(prod, 2) already exists.\n') | |
[2022-11-19T15:50:31Z] args = (), kw = {'exc_info': True} | |
[2022-11-19T15:50:31Z] | |
[2022-11-19T15:50:31Z] def meth(self: Any, event: str, *args: Any, **kw: Any) -> Any: | |
[2022-11-19T15:50:31Z] > return self._proxy_to_logger(name, event % args, **kw) | |
[2022-11-19T15:50:31Z] E TypeError: unsupported operand type(s) for %: 'IntegrityError' and 'tuple' | |
[2022-11-19T15:50:31Z] | |
[2022-11-19T15:50:31Z] .tox/py38-default/lib/python3.8/site-packages/structlog/_log_levels.py:156: TypeError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment