- 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. |
||
|---|---|---|
| .. | ||
| src | ||
| plugin.properties | ||
| pom.xml | ||