marcushill / troubadour-server

1 stars 1 forks source link

Playlist generation breaks if there are no preferences in the area #43

Closed marcushill closed 7 years ago

jblairkiel commented 7 years ago

By area do you mean "Nearby Users" or area as a technical term?

marcushill commented 7 years ago

Both? Either? Not sure how to answer that question.

What's happening is that none of the users on the live database have a location (for now). Because of this, no users are "inside" of the party fence. Therefore, there are no preferences "inside" the fence and it exits with an incredibly cryptic error message.

There are, however, a lot of ways the whole "no preferences" state can happen (I can enumerate them if you want) so I've written a specific error message for it. I'll open a PR for that change soon.

marcushill commented 7 years ago

Fixed in #44