We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba92e75 commit 9523ed4Copy full SHA for 9523ed4
1 file changed
lambdas/supplier-allocator/src/handler/allocate-handler.ts
@@ -178,6 +178,10 @@ async function getSupplierFromConfig(
178
},
179
volumeGroupId: volumeGroupDetails.id,
180
};
181
+ deps.logger.info({
182
+ description: "Resolved supplier details for letter event",
183
+ supplierDetails,
184
+ });
185
return supplierDetails;
186
} catch (error) {
187
deps.logger.error({
@@ -235,6 +239,12 @@ function incrementAllocation(
235
239
allocation: number,
236
240
deps: Deps,
237
241
) {
242
243
+ description: "Incrementing allocation for volume group and supplier",
244
+ volumeGroupId,
245
+ supplierId,
246
+ allocation,
247
238
248
const groupAllocations = map.get(volumeGroupId) ?? {};
249
groupAllocations[supplierId] =
250
(groupAllocations[supplierId] ?? 0) + allocation;
0 commit comments