fix: removed undefined call object

pull/2/merge
adriano 2025-06-18 17:25:15 -03:00
parent d337d7fec5
commit 344dafbb48
1 changed files with 1 additions and 3 deletions

View File

@ -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,