now also log fatal errors