Not sure mocha will catch this, you might want to console.error the err here