dali-lab / pine-beetle-automation

Server for automating the pipeline between ArcGIS and MongoDB.
https://spbpredict.com
1 stars 0 forks source link

add error handling to running pipeline #169

Closed jeffzyliu closed 1 year ago

jeffzyliu commented 1 year ago

Description

currently returns instead of throwing: https://github.com/dali-lab/pine-beetle-automation/blob/eb9be5b9798a1b9e19fcbb4e4bab223695d22f73/src/controllers/pipeline.js#L108

but we can't throw because of this: https://github.com/dali-lab/pine-beetle-automation/blob/eb9be5b9798a1b9e19fcbb4e4bab223695d22f73/src/controllers/survey123.js#L167

consider throwing and doing a .catch(do nothing) ?

Type of Issue