Javascript code doesn't just stop executing for no reason, if the callback needs to stop executing, it should reject the promise or throw an error. Or resolve with an error value. That's like saying "in sync programming, if you don't check for error conditions, your code continues humming along happily just the same".
If there is an error when reading a file or accessing a database, unless the file or database API is horrendously designed, it will reject the promise or throw.