Course · Section 16: Asynchronous JavaScript: Promises, Async/Await, and AJAX · Lecture 275: Error Handling With try...catch
Implement `trace(shouldThrow)` that records which blocks run. Push `try` on success or `catch` on failure, and always push `finally`, returning the log array.
+ 1 hidden test run on Submit.
The log records which path ran, showing that finally executes whether or not an error was thrown.
Run your code to see results.