Skip to content

Commit

Permalink
fix: When setting a new zcfBundleCap, store it in baggage
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert authored and mhofman committed Jan 31, 2024
1 parent 392fd33 commit e9e2da6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/zoe/src/zoeService/zoe.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,10 @@ const makeDurableZoeKit = ({
getZcfBundleCap({ id: bundleId }, vatAdminSvc),
bundleCap => {
zcfBundleCap = bundleCap;
zoeBaggage.set('zcfBundleCap', zcfBundleCap);
},
e => {
console.error(`'🚨 unable to update ZCF Bundle: `, e);
console.error('🚨 unable to update ZCF Bundle: ', e);
throw e;
},
);
Expand Down

0 comments on commit e9e2da6

Please sign in to comment.