Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"sphinx_autodoc_typehints",
"sphinx.ext.intersphinx",
]
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"flask": ("https://flask.palletsprojects.com/", None),
}

# General information about the project.
project = "Fava"
Expand Down
2 changes: 2 additions & 0 deletions src/fava/core/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import sys
import traceback
from dataclasses import dataclass
from functools import wraps
from inspect import get_annotations
from inspect import signature
from os import altsep
Expand Down Expand Up @@ -178,6 +179,7 @@ class FileImporters:
def _catch_any(func: Callable[P, T]) -> Callable[P, T]:
"""Helper to catch any exception that might be raised by the importer."""

@wraps(func)
def wrapper(*args: P.args, **kwds: P.kwargs) -> T:
try:
return func(*args, **kwds)
Expand Down