Skip to content

Commit

Permalink
chore: refine xs-worker diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Jan 27, 2021
1 parent 6e7976c commit 42ffa42
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ export function makeXsSubprocessFactory({
async function createFromBundle(vatID, bundle, managerOptions) {
parentLog('createFromBundle', { vatID });
const { vatParameters, virtualObjectCacheSize } = managerOptions;
assert(!managerOptions.metered, 'not supported yet');
assert(!managerOptions.enableSetup, 'not supported at all');
assert(!managerOptions.metered, 'xs-worker: metered not supported yet');
assert(
!managerOptions.enableSetup,
'xs-worker: enableSetup not supported at all',
);
if (managerOptions.enableInternalMetering) {
// TODO: warn+ignore, rather than throw, because the kernel enables it
// for all vats, because the Spawner still needs it. When the kernel
Expand Down

0 comments on commit 42ffa42

Please sign in to comment.