1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-22 21:08:16 +00:00

Fix crash when storage file doesnt exist yet (#8249)

This commit is contained in:
Jesse Hills 2025-02-14 14:27:11 +13:00 committed by GitHub
parent 788c41e6f4
commit 143b0d3de4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -853,7 +853,7 @@ class InfoRequestHandler(BaseHandler):
dashboard = DASHBOARD
entry = dashboard.entries.get(yaml_path)
if not entry:
if not entry or entry.storage is None:
self.set_status(404)
return