Skip to content

Conversation

@confused-Techie
Copy link
Member

After we merged #147 it created significant conflicts with my original PR (as it touched all the exact same places my PR did). So for the benefit of the contributor we merged that one first, and I reworked this one.

If you'd like to read more about the original intentions of this PR (which are the same across the two attempts) feel free to look at #139


A major pain point for community package authors is that nearly every error on the backend is returned with Internal Server Error. I ensured to create as helpful of error messages as possible to try to alleviate this, until I learned that PPM itself was discarding those error messages and just returning a status code.

There were already hints in the code at wanting to fix this via request.getErrorMessage() but it is severely under-utilized. So all this PR does is ensure we use it everywhere applicable. So that our users always are getting the best error message possible.

Again for a more in-depth explanation feel free to refer to #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants