@sap/xsodata
Advanced tools
Comparing version 7.3.0 to 7.3.2
@@ -11,2 +11,10 @@ # Change Log | ||
## [7.3.2] - 2020-09-30 | ||
## [7.3.1] - 2020-09-29 | ||
### Changed | ||
* Improved error messages. | ||
## [7.3.0] - 2020-09-15 | ||
@@ -27,7 +35,2 @@ | ||
## [7.2.2] - 2020-08-20 | ||
## [7.2.1] - 2020-08-19 | ||
## [7.2.0] - 2020-08-19 | ||
@@ -34,0 +37,0 @@ |
@@ -249,7 +249,8 @@ 'use strict'; | ||
context.logger.debug('connect - db', 'connect error ' + err.toString ? err.toString() : JSON.stringify(err)); | ||
return asyncDone(err, context); | ||
} | ||
context.logger.debug('connect - db', 'connection is usable'); | ||
context.db.connectionInitialized = true; | ||
return asyncDone(null, context); | ||
return asyncDone(err, context); | ||
}); | ||
@@ -256,0 +257,0 @@ }; |
@@ -37,3 +37,3 @@ 'use strict'; | ||
if (rows.length === 0) { | ||
return cb(new InternalError("Table object does not have a key. Add a primary key to the table or use a generated key.", context, null), context); | ||
return cb(new InternalError("Table object for entity " + entityType.name + " does not have a key. Add a primary key to the table or use a generated key.", context, null), context); | ||
} | ||
@@ -40,0 +40,0 @@ |
@@ -135,2 +135,6 @@ 'use strict'; | ||
function extendXsodataConfig(context, asyncDone) { | ||
if (context.gModel) { | ||
// If configuration already exists we do not want to read from file | ||
return asyncDone(null, context); | ||
} | ||
@@ -137,0 +141,0 @@ context.logger.silly('model', 'extendXsodataConfig'); |
{ | ||
"name": "@sap/xsodata", | ||
"version": "7.3.0", | ||
"version": "7.3.2", | ||
"description": "Expose data from a HANA database as OData V2 service with help of .xsodata files.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1305530
32201