frickerg / mensajs

mensa.js is a ready-to-use node.js script which crawls the website of the Bern University of Applied Sciences in order to retrieve today's cantina menu in Biel.
MIT License
4 stars 1 forks source link

Catch error if the menu has not been updated yet #3

Open frickerg opened 5 years ago

frickerg commented 5 years ago

If the layout of the website changes or if the menu has not been updated yet, the program will run into an error. This error should be caught to display a more comprehensible message.

Steps to reproduce

Expected behavior

Actual behavior

hessg1 commented 5 years ago

fix in https://github.com/frickerg/mensajs/pull/6/commits/ebef6630f92cd435c22061e8d7c8a763062809bf

drewjosh commented 2 years ago

Still shows error...