PromucFlow_constructor/app/server/appsmith-plugins/mongoPlugin
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
plugin.properties Merge branch 'release' into feature/acl-spring-object 2020-06-12 19:14:31 +05:30
pom.xml Increased default limit for webclient payload (#3718) 2021-03-26 21:34:10 +05:30