added log message when error template does not exist