Log errors.
Template: add 'log errors' to production.
History.