better error logs
This commit is contained in:
parent
0f28be3d2b
commit
343319f782
2 changed files with 4 additions and 2 deletions
|
@ -68,7 +68,8 @@ export async function trackEvent(eventName: string, props?: Record<string, strin
|
|||
console.warn(`Failed to send event "${eventName}": ${response.status} ${responseBody}`);
|
||||
}
|
||||
} catch (e) {
|
||||
console.warn(`Failed to send event "${eventName}": ${e}`);
|
||||
console.warn(`Failed to send event "${eventName}"`);
|
||||
console.warn(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue