Comments (6)
Hi @spudwebb
That is Driver side.
@AlCalzone, is that by design? as it would make sense to fail on Refresh for a dead node?
I'm wondering if this is Server side, mistakenly returning a success?
from zwavejs.net.
The driver doesn't return anything, but it also doesn't throw an error. I didn't want to fail the whole method when just a single query failed.
The server also doesn't return a success value:
https://github.com/zwave-js/zwave-js-server/blob/03405c02304c4555900c4fe1a5e7a873becfd11e/src/lib/node/message_handler.ts#L116C1-L119
from zwavejs.net.
The server also doesn't return a success value:
It does by default, if no exception occurred 😅
every call yields a success
property, which denotes if an error occurred driver/server side, so that will make sense, given nothing is going wrong
from zwavejs.net.
I see, that was hidden somewhere else. I guess it could be an enhancement to collect the errors while querying and return them to be able to indicate that something went wrong.
from zwavejs.net.
@AlCalzone,
Do you want to transfer this as a future enhancement?, not sure I can add much here, I don't have the right to transfer issues 🤷
from zwavejs.net.
I'll close this as an upstream enhancement.
from zwavejs.net.
Related Issues (15)
- [Feat] SmartStart support + Wider support for frameworks HOT 11
- Logging config not settable HOT 3
- Ensure security keys are present, for Smart Start and Secure inclusions
- Handle unexpected WS disconnects better (i.e handle them 😬 )
- Access to homeID HOT 2
- ccSpecific in ValueMetadata HOT 2
- No error or exception when websocket client fails to connect in client mode HOT 8
- Driver.Destroy() throws an exception if Driver.Controller is not initialized HOT 3
- Controller Node is filtered out of the Nodes collection HOT 2
- Event handlers block processing of new events HOT 2
- Can't create a second Driver after destroying the first one HOT 10
- VirtualNode.GetDefinedValueIDs() throws a null reference exception (4.0.0 branch) HOT 2
- Method calls for asleep nodes never return HOT 3
- ZWaveJS.NET does not support multiple drivers HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zwavejs.net.