Skip to content

Commit

Permalink
version 0.1.0
Browse files Browse the repository at this point in the history
* new error first callback style
* more logging
  • Loading branch information
benediktarnold committed Aug 29, 2014
1 parent 8248941 commit 3188744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/base/communication.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function sendCommandToSocket(options,socket, callback){
logger.log('debug', "Receiving header",header);
logger.log('debug', "Receiving payload",payload);
if(header.ret < 0){
callbackOnce({msg: "Communication Error. Received "+header.ret, header:header});
callbackOnce({msg: "Communication Error. Received "+header.ret, header:header, options:options});
}
messages.push(message);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "owfs",
"version": "0.0.6",
"version": "0.1.0",
"description": "A client library for the one wire server protocol",
"main": "lib/owfs.js",
"keywords": [
Expand Down

0 comments on commit 3188744

Please sign in to comment.