[PATCH 10/19] Log exceptions raised from PartitionDevice constructor.