Node.js - Error Handling Patterns
Identify the error in this async function error handling code:
async function load() {
try {
const data = await fetchData();
} catch {
console.error(error);
}
}