## Description Since we have introduced the error handling framework, each plugin produces error messages specific to the plugin execution exception. This Pr is just about standardising these error messages. In this PR we are handling only five plugins as mentioned: - Rest API - MongoDB - Postgres - MySql - Google Sheets > Modifying error messages for five plugins Rest API, Mongo, Postgres, MySQL, and Google Sheets for improving consistency. In addition it also takes care of the following issues - If the downstream error message is available response.body will hold that value and it will hold the appsmith error message otherwise - Don't override the actual http status code with Appsmith error code in case of RestAPI and GraphQL plugins Fixes #20438 #21022 ## Type of change - Chore (housekeeping or task changes that don't impact user perception) ## How Has This Been Tested? - Manual ## Checklist: ### Dev activity - [x] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag --------- Co-authored-by: subrata <subrata@appsmith.com> Co-authored-by: ChandanBalajiBP <104058110+ChandanBalajiBP@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| src | ||
| plugin.properties | ||
| pom.xml | ||