WTH why are the error messages so unusable?

very often error messages in the log are unusable ?
Ok I know there is an error !
But where ? What can I do to solve the issue ?

Screenshot 2022-10-12 09.02.54

or that one

Screenshot 2022-10-12 09.11.30

What can I do with that ? I don’t know where to start.
So If the error messages coule be improved it would be great.
Thanks

I agree! WTH!
Even some areas where it would be super easy to add important information, the info isn’t there… As an example, on the logs from automations there’s no information about which automstion triggered the error log… That is probably an easy information to add into the log.

The source as it is (helpers/script.py:409) might be useful for HA dele opera (even this is hard to believe), but it isn’t for users creating automations.