Yalies / api

👥 The best directory of Yale personnel, with a clean API to match. Used by 70% of undergrads!
https://yalies.io
12 stars 23 forks source link

Throw errors more gracefully from scraper #223

Closed ErikBoesen closed 4 weeks ago

ErikBoesen commented 9 months ago

Right now, because the different parts of the scraper mostly run asynchronously, errors are not being properly thrown from the appropriate thread. This leads to errors that can be difficult to debug, because the apparent cause of a crash will be the fact that one thread doesn't return a students list for example, when in fact the actual root cause is something more specific that happened in that thread several thousand lines of logs ago.

ericyoondotcom commented 4 weeks ago

Moved to #222