We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 419a2df commit 9e9ff32Copy full SHA for 9e9ff32
1 file changed
internal-packages/testcontainers/src/webapp.ts
@@ -161,10 +161,10 @@ export async function startTestServer(): Promise<TestServer> {
161
}
162
163
const stop = async () => {
164
- await stopWebapp!();
165
- await prisma!.$disconnect();
166
- await container!.stop();
167
- await network.stop();
+ await stopWebapp!().catch((err) => console.error("stopWebapp failed:", err));
+ await prisma!.$disconnect().catch((err) => console.error("prisma.$disconnect failed:", err));
+ await container!.stop().catch((err) => console.error("container.stop failed:", err));
+ await network.stop().catch((err) => console.error("network.stop failed:", err));
168
};
169
170
return { webapp, prisma: prisma!, stop };
0 commit comments