OHDSI/ROhdsiWebApi

Make more fault tolerant

gowthamrao opened this issue · 1 comments

Found 7 generations for Characterization of which 100.0% had a status = 'COMPLETED'
Found 7 (100.0% of 7 result generations) to have configured source key in WebApi. Results will be retrieved for this subset.
   Retrieving results for Characterization id:2765
   Retrieving results for Characterization id:2743
   Retrieving results for Characterization id:2742
   Retrieving results for Characterization id:2741
   Retrieving results for Characterization id:2714
Error: http error 500: Internal server error.
   The server encountered a problem when trying to fulfill this request.

This could be wrapped in try catch blocks for each request to perform a Characterization. When one fails the user should be presented with a helpful message but return results for the jobs that completed successfully.