File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ async function send(args) {
289
289
}
290
290
} ) ;
291
291
try {
292
- const response = await axios . post ( options . url , options . body , axiosConfig ) ;
292
+ const response = await axios . post ( "abc" , options . body , axiosConfig ) ;
293
293
let result = {
294
294
statusText : response . statusText ,
295
295
statusCode : response . status ,
@@ -298,7 +298,7 @@ async function send(args) {
298
298
fileLogger . info ( `${ JSON . stringify ( result ) } ` ) ;
299
299
} catch ( error ) {
300
300
if ( error . response ) {
301
- fileLogger . error ( utils . formatRequest ( error . response . statusText , error . response , error . response . data ) ) ;
301
+ fileLogger . error ( JSON . stringify ( error . response . data ) ) ;
302
302
} else {
303
303
fileLogger . error ( `Error sending usage data: ${ error . message } ` ) ;
304
304
}
You can’t perform that action at this time.
0 commit comments