Skip to content

Commit ddf36b7

Browse files
committed
cleanup
1 parent 586b92d commit ddf36b7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/lib/hooks/robot-clients.svelte.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,8 @@ export const provideRobotClientsContext = (
8989
}
9090
});
9191

92-
try {
93-
await client.dial(config);
94-
errors[partID] = undefined;
95-
} catch (nextError) {
96-
errors[partID] = nextError as Error;
97-
}
92+
await client.dial(config);
93+
errors[partID] = undefined;
9894

9995
connectionStatus[partID] = MachineConnectionEvent.CONNECTED;
10096
} catch (error) {

0 commit comments

Comments
 (0)