File tree 1 file changed +3
-3
lines changed
src/client/packages/idom-client-react/src
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ function mountLayoutWithReconnectingWebSocket(
36
36
const updateHookPromise = new LazyPromise ( ) ;
37
37
38
38
socket . onopen = ( event ) => {
39
- console . log ( `Connected .`) ;
39
+ console . info ( `IDOM WebSocket connected .`) ;
40
40
41
41
if ( mountState . everMounted ) {
42
42
ReactDOM . unmountComponentAtNode ( element ) ;
@@ -57,7 +57,7 @@ function mountLayoutWithReconnectingWebSocket(
57
57
58
58
socket . onclose = ( event ) => {
59
59
if ( ! maxReconnectTimeout ) {
60
- console . log ( `Connection lost.`) ;
60
+ console . info ( `IDOM WebSocket connection lost.`) ;
61
61
return ;
62
62
}
63
63
@@ -66,7 +66,7 @@ function mountLayoutWithReconnectingWebSocket(
66
66
mountState
67
67
) ;
68
68
69
- console . log ( `Connection lost, reconnecting in ${ reconnectTimeout } seconds`) ;
69
+ console . info ( `IDOM WebSocket connection lost. Reconnecting in ${ reconnectTimeout } seconds... `) ;
70
70
71
71
setTimeout ( function ( ) {
72
72
mountState . reconnectAttempts ++ ;
You can’t perform that action at this time.
0 commit comments