WTH, Improve (helper) error logging to include context

Sometimes I end up with things like

Logger: homeassistant.helpers.template
Source: helpers/template.py:2748
First occurred: 09:35:48 (1 occurrences)
Last logged: 09:35:48

Template variable error: 'None' has no attribute 'isoformat' when rendering '{{as_timestamp(as_datetime(value).isoformat()) | timestamp_custom('%F %T')}}'

Which is fairly useless to help debug where this originated from. Some context of which helper it was would really help.

I think this goes deeper than helpers and is the same in other loggers too.