Use console.log for error handling