Add factory upload support to trait, make client handle rejections gracefully #6

This commit is contained in:
NG (Graham) committed 2025-05-18 21:52:03 -04:00
1 parent fd75dba80e
commit a0dba39475
12 files changed
+196 -12

No files matched your search

+5
View File
@@ -146,4 +146,9 @@ impl crate::VehicleFactoryAdapter for ArcAdapter {
log::debug!("Search vehicles returned {} results", infos.len());
Ok(infos)
}
async fn upload(&self, _vehicle: crate::VehicleUploadInfo) -> Result<bool, Box<dyn std::error::Error>> {
log::info!("Arc adapter does not support uploading factory vehicles");
Ok(false)
}
}