Skip to content

Commit

Permalink
Mo' logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhand committed May 31, 2024
1 parent 911ac76 commit 4c50505
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ const createConversation = async (
console.log('conversation webhooks:');
(await conversationContext.webhooks.list()).forEach((wh) => {
Object.entries(wh).forEach(([key, value]) => {
console.log(key, JSON.stringify(value));
console.log(`${key}:`, value);
});
});
} catch (err) {
Expand Down Expand Up @@ -540,7 +540,7 @@ export const sendConversationMessageToFlex = async (

console.log('sendConversationMessageToFlex response:');
Object.entries(response).forEach(([key, value]) => {
console.log(`${key}: ${value}`);
console.log(`${key}:`, value);
});

return { status: 'sent', response };
Expand Down

0 comments on commit 4c50505

Please sign in to comment.