Skip to content

Commit a519bcf

Browse files
Merge pull request #135 from codesandbox/christianalfoni-patch-1
fix: timeout errors on keepActiveWhileConnected
2 parents 5ab4da7 + fd7364d commit a519bcf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/SandboxClient/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ export class SandboxClient {
271271
if (enabled) {
272272
if (!this.keepAliveInterval) {
273273
this.keepAliveInterval = setInterval(() => {
274-
this.agentClient.system.update();
274+
this.agentClient.system.update().catch(() => {
275+
// We do not care about errors here
276+
})
275277
}, 1000 * 30);
276278
}
277279
} else {

0 commit comments

Comments
 (0)