se pasa exception logs a template