Node.js - Error Handling Patterns
Identify the issue in this async error handling code:
async function fetchUser() {
try {
const user = await getUserData();
} catch {
console.error('Failed:', err);
}
}