I stumbled upon some code that looked off to me:

```
try {
  somePromise()
    .then(res => console.log(res));
} catch (err) {
  console.error(err);
}

```

If some `somePromise()` fails, would this not get caught, and the app would crash? Does this try-catch even do anything? 

Should be this, correct?:

```
  somePromise()
    .then(res => console.log(res))
    .catch(err => console.error(err));

```