File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,8 @@ export default class RealWsJsonClient implements WsJsonClient {
172
172
this . sendMessage ( CONNECTION_REQUEST_MESSAGE ) ;
173
173
}
174
174
socket . onopen = ( ) => this . sendMessage ( CONNECTION_REQUEST_MESSAGE ) ;
175
- socket . onclose = ( ) => debugLog ( "connection closed" ) ;
175
+ socket . onclose = ( event ) =>
176
+ debugLog ( "connection closed: " , event ?. reason ) ;
176
177
socket . onmessage = ( { data } ) =>
177
178
this . onMessage ( data as string , resolve , reject ) ;
178
179
} ) ;
Original file line number Diff line number Diff line change @@ -176,8 +176,7 @@ async function run() {
176
176
) ;
177
177
const { client } = await authClient . authenticateWithRetry ( token ) ;
178
178
const app = new TestApp ( client ) ;
179
- await app . getWatchlist ( - 3 ) ;
180
- await app . getWatchlist ( 126216147 ) ;
179
+ await app . optionChainQuotes ( "ABNB" ) ;
181
180
}
182
181
183
182
run ( ) . catch ( console . error ) ;
You can’t perform that action at this time.
0 commit comments