log and show production errors