OCHA-DAP / hdx-signals

HDX Signals
https://un-ocha-centre-for-humanitarian.gitbook.io/hdx-signals/
GNU General Public License v3.0
5 stars 0 forks source link

Error propogation in `generate_signals()` #228

Open caldwellst opened 1 month ago

caldwellst commented 1 month ago

Currently, errors are caught during the signals generation process by returning the ERROR string. If that's found, then generate_signals() will delete all campaign content generated so far and then throw an error. We should propogate the original error through by instead returning an ERROR: message string, and then sending that message forward.