mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
more error logging
This commit is contained in:
1 parent
26f37629ca
commit
51dfddf789
1 file changed
+8
-2
@@ -256,7 +256,10 @@ pub async fn process_job(args: ComfyProcessJobArgs<'_>) -> Result<JobSuccessResu
|
||||
sd_model_weight_token,
|
||||
false,
|
||||
&deps.db.mysql_pool
|
||||
).await?.ok_or_else(|| ProcessSingleJobError::Other(anyhow!("SD model not found")))?;
|
||||
).await?.ok_or_else(|| {
|
||||
error!("SD model not found: {:?}", sd_model_weight_token);
|
||||
ProcessSingleJobError::Other(anyhow!("SD model not found: {:?}", sd_model_weight_token))
|
||||
})?;
|
||||
|
||||
let bucket_details = RemoteCloudBucketDetails {
|
||||
object_hash: retrieved_sd_record.public_bucket_hash,
|
||||
@@ -292,7 +295,10 @@ pub async fn process_job(args: ComfyProcessJobArgs<'_>) -> Result<JobSuccessResu
|
||||
lora_model_weight_token,
|
||||
false,
|
||||
&deps.db.mysql_pool
|
||||
).await?.ok_or_else(|| ProcessSingleJobError::Other(anyhow!("Lora model not found")))?;
|
||||
).await?.ok_or_else(|| {
|
||||
error!("Lora model not found: {:?}", lora_model_weight_token);
|
||||
ProcessSingleJobError::Other(anyhow!("Lora model not found: {:?}", lora_model_weight_token))
|
||||
})?;
|
||||
|
||||
let bucket_details = RemoteCloudBucketDetails {
|
||||
object_hash: retrieved_lora_record.public_bucket_hash,
|
||||
|
||||
Reference in new issue
Block a user