tgstation / tgstation-server-webpanel

React application for interacting with tgstation-server
GNU Affero General Public License v3.0
10 stars 11 forks source link

RepoBusy error isnt very clear #115

Closed TiviPlus closed 1 year ago

TiviPlus commented 1 year ago

it says data integrity check failed unless you click on details https://discord.com/channels/498569646014857217/502919898700447775/1025803386601353247

Cyberboss commented 1 year ago

The problem is 409 is considered an "everywhere" response in the API and ALWAYS comes with an ErrorCode/ErrorMessage. The webpanel should show the error message by default instead of Data integrity Error

Cyberboss commented 1 year ago

Context for the restricted discord message image

Cyberboss commented 1 year ago

I think this happens with 401s too, which also (usually) have ErrorMessages attached