sheet upload fix
This commit is contained in:
@@ -73,9 +73,10 @@ def _pick_batch_id(config: BatchConfig) -> str:
|
||||
raise Failure(
|
||||
description=(
|
||||
"No batch_id given and no staged batch is waiting to run.\n\n"
|
||||
"Upload one through Admin -> Batch Catalog Ingestion on the site, "
|
||||
"or pass {\"batch_id\": \"...\"} in the Launchpad. Staged batches "
|
||||
"live under BATCH_UPLOAD_DIR ({}).".format(batch_ingest.batch_root())
|
||||
"Stage one through POST /api/admin/catalog-batch/ingest (or "
|
||||
"POST /api/uploads/catalog), or pass {\"batch_id\": \"...\"} in "
|
||||
"the Launchpad. Staged batches live under BATCH_UPLOAD_DIR "
|
||||
f"({batch_ingest.batch_root()})."
|
||||
),
|
||||
metadata={"staged_batches": len(batch_ingest.list_manifests())},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user