Improved Q.log in Node.js for logging errors