peddybeats / jukebox

A customizable Spotify playlist generator that learns your music taste over time
http://jukebox.peddy.ai
0 stars 2 forks source link

Do not consume errors in app.getInitialJukeboxState -bubble up to parent call #12

Closed peddybeats closed 7 years ago

peddybeats commented 7 years ago

If a promise for an intermediary call transitions to the rejected state, it should delegate control back to its parent, instead of calling errorHandler itself.

Otherwise we could have parent promises resolve to undefined while some intermediary call breaks the call chain and handles the error.

peddybeats commented 7 years ago

b3bf417c840af9d11b38e50335ef1079bc580ada