Skip to content
Snippets Groups Projects
Commit 50a02b67 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Include the service descriptor in the JSONrecv error message

parent 887ae489
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
...@@ -45,7 +45,7 @@ Socket.prototype.recvJSON = function() { ...@@ -45,7 +45,7 @@ Socket.prototype.recvJSON = function() {
} }
} }
catch(e) { catch(e) {
log(LOG_ERROR,'recvJSON(): ' + e + format(" '%s'", packet)); log(LOG_ERROR,format("recvJSON(%s): %s '%s'", this.descriptor, e, packet));
} }
} }
return packet; return packet;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment