re-add console.error writing of errors even with raven
Merge branch 'master' into production