pace-running / pace3

used for "lauf gegen rechts 2023"
2 stars 1 forks source link

Handle errors if participant registration request fails #95

Closed qutax closed 1 year ago

qutax commented 1 year ago

With the implementation of #89 we check if the t-shirt ordering functionality is enabled or not. If the functionality is disabled, the request will fail. However, the frontend implementation of the form submit does not catch unsuccessful requests but only logs the error in the web developer console.

As goal of this story, we should implement a way to handle 4xx & 5xx response status codes in the frontend.

This will also work for the implementation of #88 which is still to be done.

nvinogradova commented 1 year ago

Screenshot 2023-06-20 at 14 18 23

nvinogradova commented 1 year ago

Screenshot 2023-06-21 at 09 11 47