Added error logging with Bunyan