Re-instated error logging to console.
Merge branch 'formtools-recordActions' of https://github.com/smebberson/linz into formtools-recordActions

* 'formtools-recordActions' of https://github.com/smebberson/linz:
  The record actions dropdown no longer renders if none have been defined.
Update code to be consist for checking if variable exists.