Skip to content

Commit

Permalink
chore: Do not throw when tearing down context
Browse files Browse the repository at this point in the history
May fix e2e token test.
  • Loading branch information
spalladino committed Dec 10, 2024
1 parent 691cef7 commit 819d83c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions yarn-project/end-to-end/src/fixtures/snapshot_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ async function teardown(context: SubsystemsContext | undefined) {
return;
}
try {
getLogger().verbose('Tearing down subsystems...');
getLogger().info('Tearing down subsystems');
await context.proverNode?.stop();
await context.aztecNode.stop();
await context.pxe.stop();
Expand All @@ -253,12 +253,7 @@ async function teardown(context: SubsystemsContext | undefined) {
await context.watcher.stop();
context.timer?.uninstall();
} catch (err) {
try {
getLogger().error('Error during teardown', err);
} catch (err2) {
// eslint-disable-next-line no-console
console.error(`Error logging teardown error`, err, err2);
}
getLogger().error('Error during teardown', err);
}
}

Expand Down

0 comments on commit 819d83c

Please sign in to comment.