mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Fix HTTP 404 being logged as a stack trace (#75861)
This commit is contained in:
parent
7251445ffb
commit
91180923ae
@ -33,7 +33,7 @@ def _get_file_path(
|
||||
return None
|
||||
if filepath.is_file():
|
||||
return filepath
|
||||
raise HTTPNotFound
|
||||
raise FileNotFoundError
|
||||
|
||||
|
||||
class CachingStaticResource(StaticResource):
|
||||
|
Loading…
x
Reference in New Issue
Block a user