File tree 2 files changed +11
-7
lines changed
2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -521,14 +521,18 @@ export async function initializeClients(
521
521
for ( const plugin of character . plugins ) {
522
522
if ( plugin . clients ) {
523
523
for ( const client of plugin . clients ) {
524
- const startedClient = await client . start ( runtime ) ;
525
- elizaLogger . debug (
526
- `Initializing client: ${ client . name } `
527
- ) ;
524
+ try {
525
+ elizaLogger . debug ( `before client: ${ client . name } ` ) ;
526
+ const startedClient = await client . start ( runtime ) ;
527
+ elizaLogger . debug ( `Initializing client: ${ client . name } ` ) ;
528
528
529
- console . log ( "DEBUG" , client ) ;
529
+ console . log ( "DEBUG" , client ) ;
530
+ clients . push ( startedClient ) ;
531
+ } catch ( error :any ) {
532
+ console . log ( error )
533
+ }
530
534
531
- clients . push ( startedClient ) ;
535
+
532
536
}
533
537
}
534
538
}
Original file line number Diff line number Diff line change 3
3
"plugins" : [
4
4
" @elizaos-plugins/plugin-speech-tts" ,
5
5
" @elizaos-plugins/client-twitter" ,
6
- " @elizaos-plugins/client-discord " ,
6
+
7
7
" @elizaos-plugins/plugin-twitter" ,
8
8
" @elizaos-plugins/client-telegram"
9
9
],
You can’t perform that action at this time.
0 commit comments