File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ export async function sendSegmentEvent(action, body) {
24
24
`${ ATLAN_INSTANCE_URL } /api/service/segment/track` ,
25
25
requestOptions
26
26
)
27
- . then ( ( ) => {
27
+ . then ( ( resp ) => {
28
+ console . log ( "Inside then" , resp ) ;
28
29
console . log ( "send segment event" , action , body ) ;
29
30
} )
30
31
. catch ( ( err ) => {
31
- console . log ( "OHHH NO " , response ) ;
32
+ console . log ( "Catch err " , err ) ;
32
33
console . log ( "couldn't send segment event" , err ) ;
33
34
} ) ;
34
- console . log ( "inside " , response ) ;
35
35
} else {
36
36
console . log ( "Wuttt" ) ;
37
37
console . log ( "send segment event" , action , body ) ;
Original file line number Diff line number Diff line change @@ -25392,14 +25392,14 @@ async function sendSegmentEvent(action, body) {
25392
25392
`${ATLAN_INSTANCE_URL}/api/service/segment/track`,
25393
25393
requestOptions
25394
25394
)
25395
- .then(() => {
25395
+ .then((resp) => {
25396
+ console.log("Inside then", resp);
25396
25397
console.log("send segment event", action, body);
25397
25398
})
25398
25399
.catch((err) => {
25399
- console.log("OHHH NO ", response );
25400
+ console.log("Catch err ", err );
25400
25401
console.log("couldn't send segment event", err);
25401
25402
});
25402
- console.log("inside ", response);
25403
25403
} else {
25404
25404
console.log("Wuttt");
25405
25405
console.log("send segment event", action, body);
You can’t perform that action at this time.
0 commit comments