feat(medusa): PriceList import strategy (#2210)
This commit is contained in:
1 parent
884f36e8a8
commit
7dc8d3a0c9
17 files changed
+1129
-21
No files matched your search
@@ -47,7 +47,7 @@ class BatchJobSubscriber {
|
||||
.preProcessBatchJob(batchJob.id)
|
||||
await batchJobServiceTx.setPreProcessingDone(batchJob.id)
|
||||
} catch (e) {
|
||||
await this.batchJobService_.setFailed(batchJob.id)
|
||||
await this.batchJobService_.setFailed(batchJob.id, e.message)
|
||||
throw e
|
||||
}
|
||||
})
|
||||
@@ -68,7 +68,7 @@ class BatchJobSubscriber {
|
||||
await batchJobStrategy.withTransaction(manager).processJob(batchJob.id)
|
||||
await batchJobServiceTx.complete(batchJob.id)
|
||||
} catch (e) {
|
||||
await this.batchJobService_.setFailed(batchJob.id)
|
||||
await this.batchJobService_.setFailed(batchJob.id, e.message)
|
||||
throw e
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user