output errors in production