changing from error to debug

This commit is contained in:
rafaelsideguide 2024-07-25 10:00:50 -03:00
parent e720e1bacf
commit 1f1c068eea
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,6 @@ export async function sendSlackWebhook(
});
Logger.log("Webhook sent successfully:", response.data);
} catch (error) {
Logger.error(`Error sending webhook: ${error}`);
Logger.debug(`Error sending webhook: ${error}`);
}
}

View File

@ -51,6 +51,6 @@ export const callWebhook = async (teamId: string, jobId: string,data: any) => {
}),
});
} catch (error) {
Logger.error(`Error sending webhook for team ID: ${teamId}, error: ${error.message}`);
Logger.debug(`Error sending webhook for team ID: ${teamId}, error: ${error.message}`);
}
};