File tree 1 file changed +3
-2
lines changed
packages/plugin-near/src/actions
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 6
6
Memory ,
7
7
ModelClass ,
8
8
State ,
9
+ elizaLogger ,
9
10
type Action ,
10
11
composeContext ,
11
12
generateObject ,
@@ -132,7 +133,7 @@ export const executeTransfer: Action = {
132
133
133
134
// Validate transfer content
134
135
if ( ! isTransferContent ( runtime , content ) ) {
135
- console . error ( "Invalid content for TRANSFER_NEAR action." ) ;
136
+ elizaLogger . error ( "Invalid content for TRANSFER_NEAR action." ) ;
136
137
if ( callback ) {
137
138
callback ( {
138
139
text : "Unable to process transfer request. Invalid content provided." ,
@@ -163,7 +164,7 @@ export const executeTransfer: Action = {
163
164
164
165
return true ;
165
166
} catch ( error ) {
166
- console . error ( "Error during NEAR transfer:" , error ) ;
167
+ elizaLogger . error ( "Error during NEAR transfer:" , error ) ;
167
168
if ( callback ) {
168
169
callback ( {
169
170
text : `Error transferring NEAR: ${ error } ` ,
You can’t perform that action at this time.
0 commit comments