PromucFlow_constructor/app/server/appsmith-server
Sumit Kumar 275843e61a
Fix: Return helpful error message when get structure fails for mongo db due to lack of read permission. (#4077)
- return helpful error message when get structure fails for mongo db due to lack of read permission. The message returned is: Appsmith has failed to get database structure. Please provide read permission on the database to fix this.
- any get structure error is also generically being caught by the getStrucuture method in DatasourceStructureSolution.java
- error msg and status code is now returned as part of DatasourceStructure object.
- ErrorDTO is used to store error info.
- ErrorDTO definition is moved to appsmith-interfaces package so that it can be used all packages.
- Other changes:
  - stop logging PLUGIN_GET_STRUCTURE_ERROR externally, as this error is mostly triggered by credentials error or -lack of read permission.
  - start logging PLUGIN_GET_STRUCTURE_TIMEOUT_ERROR externally, because this is not a user error.
2021-04-26 11:18:08 +05:30
..
src Fix: Return helpful error message when get structure fails for mongo db due to lack of read permission. (#4077) 2021-04-26 11:18:08 +05:30
auth-notes Convert the project into a multi-module structure 2019-09-16 11:21:57 +00:00
pom.xml Introducing Google Sheets Plugin (#3517) 2021-04-22 09:00:09 +05:30