@iobroker/db-states-file
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -31,3 +31,3 @@ /** | ||
if (Array.isArray(this.storedSubscribes) && this.storedSubscribes.length) { | ||
this.log.warn(`Replay ${this.storedSubscribes.length} subscription calls for States Server that were done before the client was connected initially`); | ||
this.log.warn(`${this.namespace} Replay ${this.storedSubscribes.length} subscription calls for States Server that were done before the client was connected initially`); | ||
this.storedSubscribes.forEach((s => this.subscribe(s.pattern, s.options, s.callback))); | ||
@@ -34,0 +34,0 @@ this.storedSubscribes = []; |
@@ -198,3 +198,3 @@ /** | ||
} catch (err) { | ||
handler.sendError(responseId, new Error('ERROR _getStates: ' + err)); | ||
handler.sendError(responseId, new Error('ERROR _getStates: ' + err.message)); | ||
} | ||
@@ -247,3 +247,3 @@ } else { | ||
} catch (err) { | ||
handler.sendError(responseId, new Error('ERROR setState id=' + id + ': ' + err)); | ||
handler.sendError(responseId, new Error('ERROR setState id=' + id + ': ' + err.message)); | ||
} | ||
@@ -273,3 +273,3 @@ } else { | ||
} catch (err) { | ||
handler.sendError(responseId, new Error('ERROR setStateEx id=' + id + ': ' + err)); | ||
handler.sendError(responseId, new Error('ERROR setStateEx id=' + id + ': ' + err.message)); | ||
} | ||
@@ -286,3 +286,3 @@ } else if (namespace === this.namespaceSession) { | ||
} catch (err) { | ||
handler.sendError(responseId, new Error('ERROR _setSession ' + id + ': ' + err)); | ||
handler.sendError(responseId, new Error('ERROR _setSession ' + id + ': ' + err.message)); | ||
} | ||
@@ -289,0 +289,0 @@ } else { |
{ | ||
"name": "@iobroker/db-states-file", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"engines": { | ||
@@ -8,4 +8,4 @@ "node": ">=10.0.0" | ||
"dependencies": { | ||
"@iobroker/db-base": "^1.0.8", | ||
"@iobroker/db-states-redis": "^1.0.9" | ||
"@iobroker/db-base": "^1.0.10", | ||
"@iobroker/db-states-redis": "^1.0.10" | ||
}, | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "aef073c0218e503c4fc87d999fff0f83e28569d0" | ||
"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
34287
2