Welcome to the Treehouse Community
Looking to learn something new?
Alex Weissman720 Points
Why do we need to catch and re-throw the error in getJSON?
In purely synchronous programming, there is no point in catching an exception just to re-throw it without doing anything else.
Steven Parker216,012 Points
The instructor explains in the video, "The benefit of doing this is that any errors caught here will bubble up and be caught by try catch blocks or catch methods at the top level."
Then, later in the video a code example is provided to show this being used in practice.