How to catch/report elasticsearch mapping errors?

hello there. I noticed that when Elasticsearch has a mapping error the only
place it gets reported is in the elasticsearch.log file as an exception
(mult-line log entry), is there an API to get these? I'd like to log these
errors so I can report them back to the creator, whats the best way to
handle this?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8eef0d05-bc13-485c-bdeb-fb523330ba95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.