I am creating multiple processes which are running crawlers separately. I want to ensure that if there is some exception in crawler process, I am able to catch it in Parent Process. Here is the process creation code:
try:
caching_process = Process(target=run_crawler_process, args=(Config.CRAWLER_NAME, locations,
city_payloads_map, cycle_count))
caching_process.start()
except Exception as processException:
raise processException