log duration issue
This commit is contained in:
@@ -259,6 +259,11 @@ export async function postEvent(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (payload.name === 'screen_view') {
|
if (payload.name === 'screen_view') {
|
||||||
|
if (duration < 0) {
|
||||||
|
console.log('--- DURATION IS NEGATIVE ---');
|
||||||
|
console.log('prevEvent', JSON.stringify(prevEvent));
|
||||||
|
console.log('current', JSON.stringify(payload));
|
||||||
|
}
|
||||||
await job.updateData({
|
await job.updateData({
|
||||||
type: 'createEvent',
|
type: 'createEvent',
|
||||||
payload: {
|
payload: {
|
||||||
|
|||||||
Reference in New Issue
Block a user