Hey Great catch!
It seems like github has done some sort of update on gist & mixed up urls because I can’t find either snippet! Regardless, from what I know
async/await error catching you don’t have a lot nicer options than wrapping things in a
try/catch block :(
Here’s a nice source for that:
This person seems to have an alternative to
try/catch for error handling