Skip to content

Commit 334d910

Browse files
author
Igor Drobiazko
committed
more logs
1 parent d44a950 commit 334d910

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/actions/createEvent.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ function processAction(msg, cfg) {
4545
data.calendarId = cfg.calendarId;
4646
console.log('Successfully created event with ID=' + id);
4747
console.log('Emitting data ...');
48+
console.log("---DATA---");
49+
console.log("%j", data);
50+
console.log("---MSG---");
51+
console.log("%j", messages.newMessageWithBody(data));
4852
self.emit('data', messages.newMessageWithBody(data));
4953
}
5054

0 commit comments

Comments
 (0)