Node.js · Error Handling · Junior · Debugging
Why is try/catch around an async function call without await ineffective?
Short Interview Answer
The function returns a promise; synchronous try/catch won't see async rejection.
Detailed Explanation
Await inside try/catch or attach .catch. This is a classic junior/mid footgun.
Common Mistake
try { doAsync(); } catch — missing await.