Skip to content

Commit 8349722

Browse files
committed
Instead of taking the message object, just take message
The message field is again an object that contains a message. In order to receive the text, take that.
1 parent fade068 commit 8349722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Local.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function Local(){
4040
callback(new LocalError('No output received'));
4141

4242
if(data['state'] != 'connected'){
43-
callback(new LocalError(data['message']));
43+
callback(new LocalError(data['message']['message']));
4444
} else {
4545
that.pid = data['pid'];
4646
callback();

0 commit comments

Comments
 (0)