gadgetchnnel / lovelace-card-templater

Custom Lovelace card which allows Jinja2 templates to be applied to other cards
121 stars 6 forks source link

Unhandled promise rejection - HA 2023.9.0 #72

Closed Anto79-ops closed 10 months ago

Anto79-ops commented 1 year ago

Hi,

HA Core 2023.9.0 introduced some new logging that now affects this integration. Please see log associated below. Due to the grouping nature of log reporting, some of the logs may not be applicable to this integration (except for the first one).

thanks.

Logger: frontend.js.latest.202309040
Source: components/system_log/__init__.py:269
First occurred: September 4, 2023 at 5:47:59 PM (50 occurrences)
Last logged: 7:44:51 AM

Unhandled promise rejection from Chrome WebView 114.0.5735.220 on Android 9 "http://192.168.1.81:8123/hacsfiles/lovelace-card-templater/lovelace-card-templater.js?hacstag=1843331630017"
Unhandled promise rejection from Chrome WebView 116.0.0.0 on Android 13 TypeError: Cannot destructure property 'scrollTop' of 'this._scrollerController' as it is null. scrollTop (src/Virtualizer.ts:741:13) _correctScrollError (src/Virtualizer.ts:546:9) _finishDOMUpdate (src/Virtualizer.ts:538:9) _updateDOM (src/Virtualizer.ts:603:11) _handleLayoutMessage (src/Virtualizer.ts:441:43) _hostSink (src/layouts/shared/BaseLayout.ts:478:9) _sendStateChangedMessage (src/layouts/shared/BaseLayout.ts:364:9) _reflow (src/layouts/flow.ts:491:10) _reflow (src/layouts/shared/BaseLayout.ts:257:11) reflowIfNeeded (src/Virtualizer.ts:563:20)
Unhandled promise rejection from Chrome WebView 116.0.0.0 on Android 13 { "code": "timeout", "message": "Timeout" }
Unhandled promise rejection from Chrome WebView 116.0.0.0 on Android 13 { "code": "not_found", "message": "Subscription not found." }
Unhandled promise rejection from Chrome WebView 116.0.0.0 on Android 13 { "code": "home_assistant_error", "message": "Failed to send request: device did not respond" }
Anto79-ops commented 10 months ago

seems they silenced the log errors associated with this so it was no longer an issue by release date. Will close it, but relize the issue may still be present, just the logs are muted for it. thanks!