diff --git a/src/Adapters/Storage/Postgres/PostgresStorageAdapter.js b/src/Adapters/Storage/Postgres/PostgresStorageAdapter.js index f7ab3581..e81a9854 100644 --- a/src/Adapters/Storage/Postgres/PostgresStorageAdapter.js +++ b/src/Adapters/Storage/Postgres/PostgresStorageAdapter.js @@ -1305,7 +1305,7 @@ export class PostgresStorageAdapter { if (err.code === PostgresRelationDoesNotExistError) { return []; } - return Promise.reject(err); + throw err; }) .then(results => results.map(object => this.postgresObjectToParseObject(className, object, schema))); }