File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/client/packages/idom-client-react/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ function mountLayoutWithReconnectingWebSocket(
3636 const updateHookPromise = new LazyPromise ( ) ;
3737
3838 socket . onopen = ( event ) => {
39- console . log ( `Connected .`) ;
39+ console . info ( `IDOM WebSocket connected .`) ;
4040
4141 if ( mountState . everMounted ) {
4242 ReactDOM . unmountComponentAtNode ( element ) ;
@@ -57,7 +57,7 @@ function mountLayoutWithReconnectingWebSocket(
5757
5858 socket . onclose = ( event ) => {
5959 if ( ! maxReconnectTimeout ) {
60- console . log ( `Connection lost.`) ;
60+ console . info ( `IDOM WebSocket connection lost.`) ;
6161 return ;
6262 }
6363
@@ -66,7 +66,7 @@ function mountLayoutWithReconnectingWebSocket(
6666 mountState
6767 ) ;
6868
69- console . log ( `Connection lost, reconnecting in ${ reconnectTimeout } seconds`) ;
69+ console . info ( `IDOM WebSocket connection lost. Reconnecting in ${ reconnectTimeout } seconds... `) ;
7070
7171 setTimeout ( function ( ) {
7272 mountState . reconnectAttempts ++ ;
You can’t perform that action at this time.
0 commit comments