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 Feb 8, 2024
1 parent 408fffa commit 26f2999
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 26f2999

Please sign in to comment.