It is better to handle the error and not only console log it 馃槈
https://github.com/FACN3/SecretSanta/blob/master/public/js/search.js#L73-L74
Especially if the console.log gives a useful hint for the user:
console.log('sorry having a problem finding what you searched for');
https://github.com/FACN3/SecretSanta/blob/master/public/js/search.js#L10
It is better to handle the error and not only console log it 馃槈
https://github.com/FACN3/SecretSanta/blob/master/public/js/search.js#L73-L74
Especially if the console.log gives a useful hint for the user:
console.log('sorry having a problem finding what you searched for');https://github.com/FACN3/SecretSanta/blob/master/public/js/search.js#L10