Better logging of severe problems