mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Add factory upload support to trait, make client handle rejections gracefully #6
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user