Fix HTTP 404 being logged as a stack trace (#75861)

This commit is contained in:
Franck Nijhof
2022-07-28 16:43:32 +02:00
committed by GitHub
parent 7251445ffb
commit 91180923ae
+1 -1
View File
@@ -33,7 +33,7 @@ def _get_file_path(
return None
if filepath.is_file():
return filepath
raise HTTPNotFound
raise FileNotFoundError
class CachingStaticResource(StaticResource):