File tree 1 file changed +4
-4
lines changed
packages/plugin-evm/src/actions
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ export class SwapAction {
167
167
swapData : routes . routes [ 0 ] ,
168
168
} ;
169
169
} catch ( error ) {
170
- console . debug ( "Error in getLifiQuote:" , error . message ) ;
170
+ elizaLogger . error ( "Error in getLifiQuote:" , error . message ) ;
171
171
return undefined ;
172
172
}
173
173
}
@@ -223,7 +223,7 @@ export class SwapAction {
223
223
swapData : route ,
224
224
} ;
225
225
} catch ( error ) {
226
- console . debug ( "Error in getBebopQuote:" , error . message ) ;
226
+ elizaLogger . error ( "Error in getBebopQuote:" , error . message ) ;
227
227
return undefined ;
228
228
}
229
229
}
@@ -355,7 +355,7 @@ export const swapAction = {
355
355
_options : any ,
356
356
callback ?: any
357
357
) => {
358
- console . log ( "Swap action handler called" ) ;
358
+ elizaLogger . log ( "Swap action handler called" ) ;
359
359
const walletProvider = await initWalletProvider ( runtime ) ;
360
360
const action = new SwapAction ( walletProvider ) ;
361
361
@@ -393,7 +393,7 @@ export const swapAction = {
393
393
}
394
394
return true ;
395
395
} catch ( error ) {
396
- console . error ( "Error in swap handler:" , error . message ) ;
396
+ elizaLogger . error ( "Error in swap handler:" , error . message ) ;
397
397
if ( callback ) {
398
398
callback ( { text : `Error: ${ error . message } ` } ) ;
399
399
}
You can’t perform that action at this time.
0 commit comments