771: Promises: Error Handling, Aborts, and Helper Methods - Part 2
Syntax - Tasty Web Development Treats
Wes Bos
4.9 • 1.2K Ratings
🗓️ 20 May 2024
⏱️ 21 minutes
🧾️ Download transcript
Summary
Transcript
Click on a timestamp to play from that location
| 0:00.0 | Oh, welcome to syntax. In this episode, we're going to be taking a part two to our series on promises. |
| 0:07.6 | And in this video, we're going to be talking about air handling. We're going to be talking about aborting a promise, helper methods, and more. |
| 0:15.7 | So yeah, we're going to continue our talk on promises. |
| 0:19.9 | And after this one, I think you'll have a great idea about a little bit more in terms of |
| 0:24.2 | how to use them beyond just the basics so my name is Scott Tromis I promise you're |
| 0:29.7 | gonna have a good idea yeah. Well I promise you my name is Scott Tolinsky and I'm from |
| 0:36.8 | Denver. With me as always is West Boss. What's up Wes? Hey not too much I |
| 0:41.8 | promise that if you have issues with your promises, you're going to want to check out Century, |
| 0:47.0 | because Century is going to tell you when your promises are thrown, |
| 0:51.0 | maybe when you have an uncaught reject in one of your |
| 0:54.5 | promises that you weren't expecting I can tell you I myself note used to have this |
| 0:59.9 | thing called no used to catch your uncaught promises and they warned for years |
| 1:05.2 | that they're going to turn it off and I said yeah yeah one day my server my server |
| 1:11.6 | crashed and whenever my server crashes I get a little sentry alert and I |
| 1:16.4 | get an email about it and I logged in I thought hmm why did my server crash and |
| 1:21.2 | I looked at the century error. It was a fetch request that I had not |
| 1:26.2 | been, or no it wasn't a fetch request, but it was a post. So I was posting some data to a |
| 1:31.6 | third party service. |
| 1:33.0 | That service had an outage. |
| 1:35.0 | And because it was unhandled, |
| 1:38.0 | I didn't catch the error. |
| 1:40.0 | But my entire server crashed, which is unreal, that it could crash an entire server just with a single fetch request, but that happens and essentially was able to tell me exactly what happened and I fixed it in like three minutes. |
... |
Please login to see the full transcript.
Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.
Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.
Copyright © Tapesearch 2026.

