aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/utils.py b/docs/utils.py
index 567f0d18..d11f0d9c 100644
--- a/docs/utils.py
+++ b/docs/utils.py
@@ -98,7 +98,7 @@ def linkcode_resolve(repo_link: str, domain: str, info: dict[str, str]) -> str |
# These are ClassVars added by pydantic.
# Since they're not in our source code, we cannot resolve them to a url.
return None
- raise Exception(f"Could not find symbol `{symbol_name}` in {module.__name__}.")
+ raise Exception(f"Could not find symbol `{symbol_name}` in {module.__name__}.") from None
start, end = pos
_, offset = inspect.getsourcelines(symbol[-2])