fix: removed undefined call object
parent
d337d7fec5
commit
344dafbb48
|
@ -145,9 +145,7 @@ const callJournaling = async (req, res) => {
|
|||
res.status(StatusCodes.OK).send()
|
||||
} catch (error) {
|
||||
// console.log(`[ERROR - ${new Date()}] Erro no Call Journaling`, error?.response?.data)
|
||||
|
||||
Sentry.captureException(error)
|
||||
|
||||
|
||||
if (error.response) {
|
||||
console.error('==================> callJournaling Erro na resposta da API:', {
|
||||
status: error.response.status,
|
||||
|
|
Loading…
Reference in New Issue