You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I stumbled on this regression after upgrading from 2.0.4 to 2.1.1 and calling format_exc() in an except: block
File "/opt/nautobot/jobs/nautobot_ssot_xxx.py", line 1380, in sync_data
self.logger.debug("```\n%s\n```", format_exc())
File "/opt/nautobot/.local/lib/python3.9/site-packages/traceback_with_variables/core.py", line 102, in format_exc
return '\n'.join(iter_exc_lines(
File "/opt/nautobot/.local/lib/python3.9/site-packages/traceback_with_variables/core.py", line 177, in _iter_lines
if bool(fmt_.skip_files_except) and all(not p.search(filename) for p in fmt_.skip_files_except):
File "/opt/nautobot/.local/lib/python3.9/site-packages/traceback_with_variables/core.py", line 177, in <genexpr>
if bool(fmt_.skip_files_except) and all(not p.search(filename) for p in fmt_.skip_files_except):
AttributeError: 'str' object has no attribute 'search'
the exception raised was of type pydantic_core._pydantic_core.ValidationError
The text was updated successfully, but these errors were encountered:
I've been trying to come up with a simple example that reproduces the issue but so far I didn't have much luck.
The error shows up in a nautobot 2.3.12 plugin which uses django ~4.2.16, pydantic==2.10.3, diffsync==2.0.1 but it's a monster of a project to setup
Hi, I stumbled on this regression after upgrading from 2.0.4 to 2.1.1 and calling format_exc() in an except: block
the exception raised was of type pydantic_core._pydantic_core.ValidationError
The text was updated successfully, but these errors were encountered: