JavaScript Error Logging
console.error(error.message);
or simply
console.log(error.message);
aashish-cd
console.error(error.message);
or simply
console.log(error.message);