[scraper] Scraper sends status code 500 when the search results in no results
furquan-lp opened this issue · comments
Syed F Ahmad commented
On the except clause on line 96:
except Exception as e:
global_logger.error(f'An error occurred while fetching job IDs: {e}')
return 500
This sends the 500 code because an IndexError is thrown in the the try block.
Syed F Ahmad commented
Fixed by 476aefa