You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com, mitc...@hotmail.com
Indeed: you'll have to wait for the query to finish before exiting -- if you have no more IO queued, node will exit on its own (though with a success status).
I'd add a callback to your logEntry method, have it call back when your database writes finish, and then call process.exit there.