Only emit errors when there is a real error