turning error on in production