Improve logs for 500 error in datadog for /book/event (#2593)
parent
05acd26efe
commit
01fdbaa990
|
@ -323,7 +323,9 @@ export default class EventManager {
|
||||||
if (credential) {
|
if (credential) {
|
||||||
return createMeeting(credential, event);
|
return createMeeting(credential, event);
|
||||||
} else {
|
} else {
|
||||||
return Promise.reject("No suitable credentials given for the requested integration name.");
|
return Promise.reject(
|
||||||
|
`No suitable credentials given for the requested integration name:${event.location}`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -364,7 +366,9 @@ export default class EventManager {
|
||||||
const bookingRef = booking ? booking.references.filter((ref) => ref.type === credential.type)[0] : null;
|
const bookingRef = booking ? booking.references.filter((ref) => ref.type === credential.type)[0] : null;
|
||||||
return updateMeeting(credential, event, bookingRef);
|
return updateMeeting(credential, event, bookingRef);
|
||||||
} else {
|
} else {
|
||||||
return Promise.reject("No suitable credentials given for the requested integration name.");
|
return Promise.reject(
|
||||||
|
`No suitable credentials given for the requested integration name:${event.location}`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -323,7 +323,9 @@ export default class EventManager {
|
||||||
if (credential) {
|
if (credential) {
|
||||||
return createMeeting(credential, event);
|
return createMeeting(credential, event);
|
||||||
} else {
|
} else {
|
||||||
return Promise.reject("No suitable credentials given for the requested integration name.");
|
return Promise.reject(
|
||||||
|
`No suitable credentials given for the requested integration name:${event.location}`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -364,7 +366,9 @@ export default class EventManager {
|
||||||
const bookingRef = booking ? booking.references.filter((ref) => ref.type === credential.type)[0] : null;
|
const bookingRef = booking ? booking.references.filter((ref) => ref.type === credential.type)[0] : null;
|
||||||
return updateMeeting(credential, event, bookingRef);
|
return updateMeeting(credential, event, bookingRef);
|
||||||
} else {
|
} else {
|
||||||
return Promise.reject("No suitable credentials given for the requested integration name.");
|
return Promise.reject(
|
||||||
|
`No suitable credentials given for the requested integration name:${event.location}`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue