@iobroker/db-base
Advanced tools
Comparing version 1.0.8 to 1.0.10
@@ -116,3 +116,3 @@ /** | ||
} catch (e) { | ||
this.log.error(this.namespace + ' Cannot parse ' + this.datasetName + ': ' + e); | ||
this.log.error(this.namespace + ' Cannot parse ' + this.datasetName + ': ' + e.message); | ||
if (fs.existsSync(this.datasetName + '.bak')) { | ||
@@ -122,3 +122,3 @@ try { | ||
} catch (e) { | ||
this.log.error(this.namespace + ' Cannot parse ' + this.datasetName + '.bak: ' + e); | ||
this.log.error(this.namespace + ' Cannot parse ' + this.datasetName + '.bak: ' + e.message); | ||
this.dataset = {}; | ||
@@ -134,3 +134,3 @@ } | ||
} catch (e) { | ||
this.log.error(this.namespace + ' Cannot parse ' + this.datasetName + '.bak: ' + e); | ||
this.log.error(this.namespace + ' Cannot parse ' + this.datasetName + '.bak: ' + e.message); | ||
this.dataset = {}; | ||
@@ -233,3 +233,3 @@ } | ||
} catch (e) { | ||
this.log.error(`Cannot delete file "${path.join(this.backupDir, file)}: ${JSON.stringify(e)}`); | ||
this.log.error(`${this.namespace} Cannot delete file "${path.join(this.backupDir, file)}: ${e.message}`); | ||
} | ||
@@ -310,3 +310,3 @@ } | ||
} catch (e) { | ||
this.log.error(this.namespace + ' Cannot save ' + this.datasetName + ': ' + e); | ||
this.log.error(this.namespace + ' Cannot save ' + this.datasetName + ': ' + e.message); | ||
} | ||
@@ -330,3 +330,3 @@ if (this.stateTimer) { | ||
if (id === undefined) { | ||
this.log.error('Can not publish empty ID'); | ||
this.log.error(this.namespace + ' Can not publish empty ID'); | ||
return 0; | ||
@@ -333,0 +333,0 @@ } |
@@ -174,3 +174,3 @@ const Resp = require('respjs'); | ||
if (!responseId) { | ||
throw Error('Invalid implementation: no responseId provided!'); | ||
throw new Error('Invalid implementation: no responseId provided!'); | ||
} | ||
@@ -177,0 +177,0 @@ if (!data) { |
{ | ||
"name": "@iobroker/db-base", | ||
"version": "1.0.8", | ||
"version": "1.0.10", | ||
"engines": { | ||
@@ -34,3 +34,3 @@ "node": ">=10.0.0" | ||
}, | ||
"gitHead": "20f0956d98bc0492dbc15fcee45b944d4dc644da" | ||
"gitHead": "758fd93aae496663dff8b9d8dbe38d06fdb739be" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27719
25195
11
89
1