Skip to content

Handle error HTTP error responses on server

Afonso Cerejeira requested to merge add-api-error-handler into main

Previously the plugin would crash when the external API returned a non 200 HTTP code. This MR adds an handle that redirects the error code and body to the frontend. The frontend already checked for HTTP errors, so it will display an empty list of badges.

Attached is the plugin bundle for Linux: com.collabora.profile-plus-0.1.1.tar.gz

Merge request reports