Fixing server crash due to incorrect calling of logger

This fixes #264.  logger.js was being used incorrectly in webhooks.js, resulting in a crash.