forked from home-assistant/core
Fix HTTP 404 being logged as a stack trace (#75861)
This commit is contained in:
@@ -33,7 +33,7 @@ def _get_file_path(
|
||||
return None
|
||||
if filepath.is_file():
|
||||
return filepath
|
||||
raise HTTPNotFound
|
||||
raise FileNotFoundError
|
||||
|
||||
|
||||
class CachingStaticResource(StaticResource):
|
||||
|
||||
Reference in New Issue
Block a user