🐛 Record cloud-init log event when cloud-init reports an error (#2230)