Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
manolisliolios committed Oct 16, 2024
1 parent a23569e commit fba258c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/init/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export const queryRegistryTable = async (
},
});

if (table.data?.content?.dataType !== 'moveObject') throw new Error('Invalid data');
if (table.data?.content?.dataType !== 'moveObject')
throw new Error(`Invalid data ${suinsPackageId}`);

const data = table.data?.content.fields as Record<string, any>;
return data.value.fields.registry.fields.id.id;
Expand Down
3 changes: 2 additions & 1 deletion sdk/test/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export async function publishAndSetupSuinsContracts(toolbox: TestToolbox): Promi
// we need to set this to a temp file, so that the client uses the correct config.
CLIENT_CONFIG_FILE: toolbox.configPath,
},
// stdio: 'inherit',
// keep logs.
stdio: 'inherit',
encoding: 'utf8',
});

Expand Down

0 comments on commit fba258c

Please sign in to comment.