display errors for debugging