Skip to content

Commit 1c21ff5

Browse files
committed
fix: indention
1 parent cc380db commit 1c21ff5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/javascript/app/pages/trade/initialization-manager.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ const InitializationManager = (() => {
7070
resolve(result);
7171
} catch (error) {
7272

73-
// Only log error if WebSocket is connected
74-
const socket = BinarySocket.get();
75-
const is_connected = socket && socket.readyState === 1;
76-
77-
if (is_connected) {
78-
// eslint-disable-next-line no-console
79-
console.error(`Attempt ${attempts}/${maxAttempts} failed for ${stepId}:`, error);
80-
}
73+
// Only log error if WebSocket is connected
74+
const socket = BinarySocket.get();
75+
const is_connected = socket && socket.readyState === 1;
76+
77+
if (is_connected) {
78+
// eslint-disable-next-line no-console
79+
console.error(`Attempt ${attempts}/${maxAttempts} failed for ${stepId}:`, error);
80+
}
8181

8282
if (attempts < maxAttempts) {
8383
// Retry after delay

0 commit comments

Comments
 (0)