Currently there is no error message if uploading module file fails.
The backend returns error code (such as 401), but the frontend still shows "Successfully added module", even though the upload failed.
Steps to reproduce:
Open a project used by a regular
Add module, select Java 11, upload a JAR file
If the endpoint returns an error code, there should be an error in the frontend
Currently there is no error message if uploading module file fails. The backend returns error code (such as 401), but the frontend still shows "Successfully added module", even though the upload failed.
Steps to reproduce: