If you try to create a new round from the UI but forget to fill out the thresholds or drop a broken CSV link, the frontend fires it off to the API anyway.
The backend obviously crashes with a KeyError or ValueError which forces a 500 error back to the client. We really just need to tighten up RoundNew.vue to trap these edge cases before the network request is initiated.
If you try to create a new round from the UI but forget to fill out the thresholds or drop a broken CSV link, the frontend fires it off to the API anyway.
The backend obviously crashes with a
KeyErrororValueErrorwhich forces a 500 error back to the client. We really just need to tighten upRoundNew.vueto trap these edge cases before the network request is initiated.