Better logging when missing dependency